Use git log --no-renames for recentchanges

Otherwise, recent git releases show renames as renames, and we do not
see that newdir/test5 was affected.

Bug-Debian: https://bugs.debian.org/835612
master
Simon McVittie 2016-09-03 23:29:37 +01:00
parent 8dd46cc2ae
commit 276f0cf578
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ sub git_commit_info ($;$) {
my @raw_lines = run_or_die('git', 'log', @opts, my @raw_lines = run_or_die('git', 'log', @opts,
'--pretty=raw', '--raw', '--abbrev=40', '--always', '-c', '--pretty=raw', '--raw', '--abbrev=40', '--always', '-c',
'-r', $sha1, '--', '.'); '-r', $sha1, '--no-renames', '--', '.');
my @ci; my @ci;
while (my $parsed = parse_diff_tree(\@raw_lines)) { while (my $parsed = parse_diff_tree(\@raw_lines)) {