From ea16ba84307b64373fcea2bc52c6dcadf8708ce9 Mon Sep 17 00:00:00 2001 From: Micheal Wilkinson Date: Fri, 20 Mar 2026 09:57:40 +0000 Subject: [PATCH] chore(go): Removing unused function --- internal/homesick/core/core.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/homesick/core/core.go b/internal/homesick/core/core.go index d2d7f23..8c31e1d 100644 --- a/internal/homesick/core/core.go +++ b/internal/homesick/core/core.go @@ -510,10 +510,6 @@ func matchesIgnoredDir(castleHome string, candidate string, subdirs []string) (b 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 { cmd := exec.Command("git", args...) cmd.Dir = dir