combine-diff: split header printing into its own function
authorJeff King <peff@peff.net>
Mon, 23 May 2011 20:16:41 +0000 (16:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 May 2011 22:39:33 +0000 (15:39 -0700)
commit7c978a068f0575a90570e4579c71a5f641bdfad3
tree41d6488faea4a4f36b266a51f85eee1ef08b8fcd
parent391b14278e59f46ceda3b055fdc12527bc2c87fb
combine-diff: split header printing into its own function

This is a pretty big logical chunk, so it makes the function
a bit more readable to have it split out. In addition, it
will make it easier to add an alternate code path for binary
diffs in a future patch.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
combine-diff.c