From: Simon McVittie Date: Sat, 3 Sep 2016 22:29:37 +0000 (+0100) Subject: Use git log --no-renames for recentchanges X-Git-Tag: 3.20160905~2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/276f0cf57861418fae5b4db8446d3d1098130cdf 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 --- diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index bfca933fd..249338d4d 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -469,7 +469,7 @@ sub git_commit_info ($;$) { my @raw_lines = run_or_die('git', 'log', @opts, '--pretty=raw', '--raw', '--abbrev=40', '--always', '-c', - '-r', $sha1, '--', '.'); + '-r', $sha1, '--no-renames', '--', '.'); my @ci; while (my $parsed = parse_diff_tree(\@raw_lines)) {