]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
web commit by http://chris-lamb.co.uk/
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 4 Oct 2007 08:51:23 +0000 (08:51 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 4 Oct 2007 08:51:23 +0000 (08:51 +0000)
doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn [new file with mode: 0644]

diff --git a/doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn b/doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn
new file mode 100644 (file)
index 0000000..dda5cdc
--- /dev/null
@@ -0,0 +1,14 @@
+       Index: IkiWiki/Rcs/git.pm
+       ===================================================================
+       --- IkiWiki/Rcs/git.pm  (revision 4532)
+       +++ IkiWiki/Rcs/git.pm  (working copy)
+       @@ -275,6 +275,9 @@
+        
+               my $file = shift || q{--};
+        
+       +       # Remove srcdir prefix to appease git-rev-list
+       +       $file =~ s/^$config{srcdir}\/?//;
+       +
+               # Ignore error since a non-existing file might be given.
+               my ($sha1) = run_or_non('git-rev-list', '--max-count=1', 'HEAD', $file);
+               if ($sha1) {