From cf85e158a01c2bb8e7ec3a0a222ea80dcb56674a Mon Sep 17 00:00:00 2001 From: Sean Enck Date: Wed, 27 Nov 2024 09:52:16 -0500 Subject: [PATCH] this can happen at any level --- internal/uncommitted/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/uncommitted/core.go b/internal/uncommitted/core.go index 3ee431f..703f895 100644 --- a/internal/uncommitted/core.go +++ b/internal/uncommitted/core.go @@ -78,7 +78,7 @@ func Current(s Settings) error { } if isWorkTree(wd) { if s.Mode == isNoPrompt { - return exec.Command("git", "-C", wd, "config", "--local", nopromptConfig, "true").Run() + return exec.Command("git", "-C", wd, "config", nopromptConfig, "true").Run() } if cli.IsYes(gitGetText(wd, "config", nopromptConfig)) { return nil