diff --git a/pkg/commands/git_commands/diff.go b/pkg/commands/git_commands/diff.go index 9f81bb91d..0e5c69037 100644 --- a/pkg/commands/git_commands/diff.go +++ b/pkg/commands/git_commands/diff.go @@ -16,7 +16,9 @@ func (self *DiffCommands) DiffCmdObj(diffArgs []string) oscommands.ICmdObj { return self.cmd.New( NewGitCmd("diff"). Config("diff.noprefix=false"). - Arg("--submodule", "--no-ext-diff", "--color"). + Arg("--submodule"). + Arg("--no-ext-diff"). + Arg("--color"). Arg(diffArgs...). Dir(self.repoPaths.worktreePath). ToArgv(),