name-rev: fix parent counting.
authorJunio C Hamano <junkio@cox.net>
Tue, 29 Nov 2005 04:51:44 +0000 (20:51 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 29 Nov 2005 04:51:44 +0000 (20:51 -0800)
commitf2e6f1c9763f65918211ed28caf77a40effa4e7e
tree0eea4db49bc2e8f538ea5ee8b1d396b7ae5295b4
parent7f4bd5d831ea838668d1de5f5af022f763230eee
name-rev: fix parent counting.

Noticed by linux@horizon.com.  The first merge parent (typically
"our branch") is ^1, not ^0, and the first other branch is ^2.

Signed-off-by: Junio C Hamano <junkio@cox.net>
name-rev.c