Skip to content

Commit dc842f0

Browse files
authored
🐛 Fix trace in commit. (#81)
closes #74 An alternative would be for Head() to return the last line in the output. Thoughts? <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Suppressed Git trace output during operations to prevent unexpected verbose logging in normal use. - Maintains non-interactive behavior for Git commands, avoiding prompt interruptions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jeff Ortel <[email protected]>
1 parent 7007f00 commit dc842f0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

repository/git.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ func (r *Git) git() (cmd *command.Command) {
152152
cmd.Env = append(
153153
os.Environ(),
154154
"GIT_TERMINAL_PROMPT=0",
155-
"GIT_TRACE_SETUP=1",
156-
"GIT_TRACE=1",
157155
"HOME="+r.home())
158156
return
159157
}

0 commit comments

Comments
 (0)