summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-11-28 14:44:35 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-11-28 14:46:48 +0100
commit00e13ff26796f890b8feb5329af77c22f4b00a32 (patch)
tree503ae3f79c01edf8d22d41bcce36f39608e5633f
parent1ff245433ffcf3e906f1241b2eea5322a845e94c (diff)
downloadqtrepotools-devscripts-master.tar.gz
force copy detection and a high move detection file limitdevscripts-master
to keep the noise down a bit (cherry picked from commit b46872c68681ebe4528edafc8e8df912d0d112fa)
-rwxr-xr-xgit-hooks/sanitize-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit
index 6674fa9..36d0e4f 100755
--- a/git-hooks/sanitize-commit
+++ b/git-hooks/sanitize-commit
@@ -264,7 +264,7 @@ my $tabs_check;
my $ws_check;
my $tsv_check;
my $ctlkw_check;
-open DIFF, "git diff-tree --no-commit-id --diff-filter=ACMR --src-prefix=\@old\@/ --dst-prefix=\@new\@/ --full-index -r -U100000 --cc -M --root ".$sha1." |" or die "cannot run git: $!";
+open DIFF, "git diff-tree --no-commit-id --diff-filter=ACMR --src-prefix=\@old\@/ --dst-prefix=\@new\@/ --full-index -r -U100000 --cc -C -l1000 --root ".$sha1." |" or die "cannot run git: $!";
while (<DIFF>) {
if (/^-/) {
if ($mixws_check) {