Skip to content

Commit

Permalink
this can happen at any level
Browse files Browse the repository at this point in the history
  • Loading branch information
seanenck committed Nov 27, 2024
1 parent 1d63bc3 commit cf85e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/uncommitted/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf85e15

Please sign in to comment.