diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-11-28 14:44:35 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-11-28 14:46:48 +0100 |
commit | 00e13ff26796f890b8feb5329af77c22f4b00a32 (patch) | |
tree | 503ae3f79c01edf8d22d41bcce36f39608e5633f /git-hooks | |
parent | 1ff245433ffcf3e906f1241b2eea5322a845e94c (diff) | |
download | qtrepotools-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)
Diffstat (limited to 'git-hooks')
-rwxr-xr-x | git-hooks/sanitize-commit | 2 |
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) { |