]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* French translation update. Closes: #445923
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 10 Oct 2007 18:15:15 +0000 (18:15 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 10 Oct 2007 18:15:15 +0000 (18:15 +0000)
* Fix --get-ctime with git, needed to remove srcdir from filename.

IkiWiki/Rcs/git.pm
debian/changelog
doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn

index 563d10859eb6edb71a3ba03e838a9dd319f704d5..070bf3208287bd52634bfe3d8c5dca513e20f6e8 100644 (file)
@@ -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);
index 3f552f795330abf0a8b422e8b5267852bd0189cb..ba24beee91bcf26d568e897baf4dd7b86346fa07 100644 (file)
@@ -1,8 +1,10 @@
 ikiwiki (2.10) UNRELEASED; urgency=low
 
   * Tidy ctime debug output for git.
+  * French translation update. Closes: #445923
+  * Fix --get-ctime with git, needed to remove srcdir from filename.
 
- -- Joey Hess <joeyh@debian.org>  Thu, 04 Oct 2007 04:59:51 -0400
+ -- Joey Hess <joeyh@debian.org>  Wed, 10 Oct 2007 14:14:18 -0400
 
 ikiwiki (2.9) unstable; urgency=low
 
index 981a8f3748f652933c6aea83b972e535ca85d34c..d811b8ea9b5f6853539942c75db96c16ad953259 100644 (file)
@@ -21,4 +21,4 @@ Better to strip the path out in getctime, I guess.
 
 --[[Joey]]
 
-[[tag patch]]
+[[tag patch done]]