]> sipb.mit.edu Git - ikiwiki.git/commit
Add full parser for git diff-tree output
authorBrian Downing <bdowning@lavos.net>
Thu, 17 Jan 2008 12:42:34 +0000 (06:42 -0600)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 17 Jan 2008 16:15:23 +0000 (11:15 -0500)
commit6d85ccdb6f1bb6e97a2815d059850a2cc2f8e93b
treec7dadabbe173f149fca84afb1d88923236cf8f20
parent06bd32f9dad90233a0882f114bcc2099a2d50bb6
Add full parser for git diff-tree output

The -c option to git log/diff-tree produces "merged" diffs with a
different format from normal ones.  However, the existing diff-tree
parser only accepted non-merged diff lines.  Merged diff lines caused
the parser to get out of sync.  This patch adds a full parser for diffs
with any number of parents.  See the "DIFF FORMAT FOR MERGES" section in
the git-diff-tree man page for more information.

Signed-off-by: Brian Downing <bdowning@lavos.net>
IkiWiki/Rcs/git.pm