diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-10-10 18:15:15 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-10-10 18:15:15 +0000 |
commit | 3fd86def96f1f946dfbc1d847b57aeba11428b9b (patch) | |
tree | 4bbec74e75739dfb7748ed57390226bb33d1aad3 /IkiWiki | |
parent | a69973a8eba58384a181fcd02b8552426bd7f5dd (diff) | |
download | ikiwiki-3fd86def96f1f946dfbc1d847b57aeba11428b9b.tar ikiwiki-3fd86def96f1f946dfbc1d847b57aeba11428b9b.tar.gz |
* French translation update. Closes: #445923
* Fix --get-ctime with git, needed to remove srcdir from filename.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Rcs/git.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 563d10859..070bf3208 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -460,9 +460,9 @@ sub rcs_notify () { #{{{ } #}}} sub rcs_getctime ($) { #{{{ - # Get the ctime of file. - - my ($file) = @_; + my $file=shift; + # Remove srcdir prefix + $file =~ s/^\Q$config{srcdir}\E\/?//; my $sha1 = git_sha1($file); my $ci = git_commit_info($sha1); |