1 Index: IkiWiki/Rcs/git.pm
2 ===================================================================
3 --- IkiWiki/Rcs/git.pm (revision 4532)
4 +++ IkiWiki/Rcs/git.pm (working copy)
7 my $file = shift || q{--};
9 + # Remove srcdir prefix to appease git-rev-list
10 + $file =~ s/^$config{srcdir}\/?//;
12 # Ignore error since a non-existing file might be given.
13 my ($sha1) = run_or_non('git-rev-list', '--max-count=1', 'HEAD', $file);