Fix "--pretty=format:" for parent related items.
authorJunio C Hamano <junkio@cox.net>
Wed, 28 Mar 2007 20:33:37 +0000 (13:33 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Mar 2007 20:44:04 +0000 (13:44 -0700)
There are two breakages in the %P/%p interpolation. It appended
an excess SP at the end of the list, and it gave uninitialized
contents of a buffer on the stack for root commits.

This fixes it, while updating the t6006 test which expected the
wrong output.

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found