X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/d92c6d9d3f410c11dfec69e743c6529d3a426f95..43056e68d53e5fc6c000540b289bbfa2c7b037a5:/doc/todo/git-rev-list_requires_relative_path___40__fixes_git_ctime__41__.mdwn 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 index dda5cdca5..d811b8ea9 100644 --- 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 @@ -12,3 +12,13 @@ # 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]]