summaryrefslogtreecommitdiffstats
path: root/pkg/commands/loading_commit_files.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/loading_commit_files.go')
-rw-r--r--pkg/commands/loading_commit_files.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/loading_commit_files.go b/pkg/commands/loading_commit_files.go
index ebadc3096..2c71cc068 100644
--- a/pkg/commands/loading_commit_files.go
+++ b/pkg/commands/loading_commit_files.go
@@ -14,7 +14,7 @@ func (c *GitCommand) GetFilesInDiff(from string, to string, reverse bool, patchM
reverseFlag = " -R "
}
- filenames, err := c.OSCommand.RunCommandWithOutput("git diff --submodule --no-ext-diff --name-status -z %s %s %s", reverseFlag, from, to)
+ filenames, err := c.OSCommand.RunCommandWithOutput("git diff --submodule --no-ext-diff --name-status -z --no-renames %s %s %s", reverseFlag, from, to)
if err != nil {
return nil, err
}