]> sipb.mit.edu Git - ikiwiki.git/commitdiff
comment
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 4 Oct 2007 08:58:47 +0000 (08:58 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 4 Oct 2007 08:58:47 +0000 (08:58 +0000)
doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn

index 9594cff4d0cea45828c961b4cc5e21686885dccf..981a8f3748f652933c6aea83b972e535ca85d34c 100644 (file)
                my ($sha1) = run_or_non('git-rev-list', '--max-count=1', 'HEAD', $file);
                if ($sha1) {
 
-[[tag patch]]
\ No newline at end of file
+I actually see a bug in this patch. :-) If srcdir = "foo" and the wiki
+contains a "foo/bar" and a "bar", this will make it, in the non-ctime case,
+get the sha1 of the wrong file, "bar", when "foo/bar" is asked for.
+
+Better to strip the path out in getctime, I guess.
+
+--[[Joey]]
+
+[[tag patch]]