fix(cli): suppress no-git-repo note with --quiet flag
The "Note: No git repository initialized" message now respects the --quiet flag, preventing non-essential output in quiet mode. Fixes #1080 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -355,7 +355,9 @@ func startDaemonProcess(socketPath string) bool {
|
||||
// Skip attempting to start and avoid the 5-second wait if not in git repo
|
||||
if !isGitRepo() {
|
||||
debugLog("not in a git repository, skipping daemon start")
|
||||
fmt.Fprintf(os.Stderr, "%s No git repository initialized - running without background sync\n", ui.RenderMuted("Note:"))
|
||||
if !quietFlag {
|
||||
fmt.Fprintf(os.Stderr, "%s No git repository initialized - running without background sync\n", ui.RenderMuted("Note:"))
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user