We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fdab1a commit 195afb9Copy full SHA for 195afb9
services/pull/merge_prepare.go
@@ -32,6 +32,9 @@ type mergeContext struct {
32
env []string
33
}
34
35
+// PrepareGitCmd prepares a git command with the correct directory, environment, and output buffers
36
+// This function can only be called with gitcmd.Run()
37
+// Do NOT use it with gitcmd.RunStd*() functions, otherwise it will panic
38
func (ctx *mergeContext) PrepareGitCmd(cmd *gitcmd.Command) *gitcmd.Command {
39
ctx.outbuf.Reset()
40
ctx.errbuf.Reset()
0 commit comments