From e39366315cd153fc794aed7a9b4df587115d49e7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 3 Sep 2016 23:29:37 +0100 Subject: [PATCH] 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 (cherry picked from commit 276f0cf57861418fae5b4db8446d3d1098130cdf) --- IkiWiki/Plugin/git.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 51f711a28..95307d1ba 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)) { -- 2.39.5