gosick #1

Merged
DelphicOkami merged 162 commits from gosick into main 2026-03-21 23:08:00 +00:00
Showing only changes of commit ea16ba8430 - Show all commits

View File

@@ -510,10 +510,6 @@ func matchesIgnoredDir(castleHome string, candidate string, subdirs []string) (b
return ok, nil return ok, nil
} }
func runGit(dir string, args ...string) error {
return runGitWithIO(dir, os.Stdout, os.Stderr, args...)
}
func runGitWithIO(dir string, stdout io.Writer, stderr io.Writer, args ...string) error { func runGitWithIO(dir string, stdout io.Writer, stderr io.Writer, args ...string) error {
cmd := exec.Command("git", args...) cmd := exec.Command("git", args...)
cmd.Dir = dir cmd.Dir = dir