author | Junio C Hamano <junkio@cox.net> | |
Wed, 28 Mar 2007 20:33:37 +0000 (13:33 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 28 Mar 2007 20:44:04 +0000 (13:44 -0700) | ||
commit | 542e165cdc4fbebbfe7c8954ca1aa1d4162e38cb | |
tree | f085406239e17030fdfea420a208a3d6e0833096 | tree | snapshot |
parent | 9c880b3ea56a7ff2f66dcf12eb2351f0f51a54ef | commit | diff |
Fix "--pretty=format:" for parent related items.
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>
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>
commit.c | diff | blob | history | |
t/t6006-rev-list-format.sh | [changed mode: 0644->0755] | diff | blob | history |