author | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Oct 2007 22:09:41 +0000 (15:09 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Oct 2007 22:12:05 +0000 (15:12 -0700) | ||
commit | 9e1a2acfb2198e29c90b59eef84eb0370ef9f03f | |
tree | 02e3abd35eeb189a0b1f728ed570ff099106d4d7 | tree | snapshot |
parent | c8f203255bc7a782e3a54e73d5801009bb7f0319 | commit | diff |
for-each-ref: fix %(numparent) and %(parent)
The string value of %(numparent) was not returned correctly.
Also %(parent) misbehaved for the root commits (returned garbage)
and merge commits (returned first parent, followed by a space).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The string value of %(numparent) was not returned correctly.
Also %(parent) misbehaved for the root commits (returned garbage)
and merge commits (returned first parent, followed by a space).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-for-each-ref.c | diff | blob | history |