diff --git a/src/pkgcheck/addons/git.py b/src/pkgcheck/addons/git.py index 669ac262b..5d41ba3b4 100644 --- a/src/pkgcheck/addons/git.py +++ b/src/pkgcheck/addons/git.py @@ -155,6 +155,7 @@ def __init__(self, path, commit_range): cmd = shlex.split(self._git_cmd) cmd.append(f"--pretty=tformat:%n{'%n'.join(self._format)}") cmd.append(commit_range) + cmd.extend(("--no-find-copies", "--no-find-copies-harder", "--find-renames")) self.git_log = GitLog(cmd, self.path) # discard the initial newline