From: Junio C Hamano Date: Tue, 2 Oct 2007 22:09:41 +0000 (-0700) Subject: for-each-ref: fix %(numparent) and %(parent) X-Git-Tag: v1.5.3.4~12 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9e1a2acfb2198e29c90b59eef84eb0370ef9f03f?hp=9e1a2acfb2198e29c90b59eef84eb0370ef9f03f 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 ---