diff --git a/pkg/commands/git_commands/patch.go b/pkg/commands/git_commands/patch.go index 2a979dd54..f40f7fa6f 100644 --- a/pkg/commands/git_commands/patch.go +++ b/pkg/commands/git_commands/patch.go @@ -346,7 +346,7 @@ func (self *PatchCommands) PullPatchIntoNewCommitBefore( func (self *PatchCommands) diffHeadAgainstCommit(commit *models.Commit) (string, error) { cmdArgs := NewGitCmd("diff"). Config("diff.noprefix=false"). - Arg("--no-ext-diff"). + Arg("--no-ext-diff", "--no-color"). Arg("HEAD.." + commit.Hash()). ToArgv()