]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
git.pm: Handle operating in sub-trees of a git repository.
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 30 Aug 2007 02:32:35 +0000 (02:32 +0000)
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 30 Aug 2007 02:32:35 +0000 (02:32 +0000)
commit8de136222e0eafe506c5dee4b2f918620ca7a065
tree41d922d1160db75e845fe149809d9ed827188852
parentc5ee59ec5e5baadd2a3655d2bbd9dd7d712f186a
git.pm: Handle operating in sub-trees of a git repository.

When looking for git commits that affect the wiki, only include changes
that affect the ikiwiki source directory. If that is not the top-level
directory in this git repository, strip off the prefix as given by
`git-rev-parse --show-prefix` from all names reported by git-log.

Patch by Jamey Sharp <jamey@minilop.net>.
IkiWiki/Rcs/git.pm