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: NJunio C Hamano <junkio@cox.net>
Showing
t/t6006-rev-list-format.sh
100644 → 100755
想要评论请 注册 或 登录