]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn
move from bugs to todo
[ikiwiki.git] / doc / todo / git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn
index dda5cdca5f4aa8d89f73ce853565ef4556e3dfed..d811b8ea9b5f6853539942c75db96c16ad953259 100644 (file)
                # 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) {
+
+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 done]]