aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-09-03 23:29:37 +0100
committerSimon McVittie <smcv@debian.org>2016-09-03 23:47:06 +0100
commit276f0cf57861418fae5b4db8446d3d1098130cdf (patch)
tree8ed9cf36726901f77c1f578de82f3c6847fdc12b /IkiWiki
parent8dd46cc2ae2573b401eca7543f960720b8580ae0 (diff)
downloadikiwiki-276f0cf57861418fae5b4db8446d3d1098130cdf.tar
ikiwiki-276f0cf57861418fae5b4db8446d3d1098130cdf.tar.gz
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
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/git.pm2
1 files changed, 1 insertions, 1 deletions
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)) {