show-branch: fix commit naming breakage.
commitfbaf834de12efb43dea8d2679a040462e9d3d03d
authorJunio C Hamano <junkio@cox.net>
Sun, 25 Sep 2005 06:33:02 +0000 (24 23:33 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 25 Sep 2005 06:33:02 +0000 (24 23:33 -0700)
tree87ac8eefc2d01e06d3ee58e37b660a04d9b2a6dd
parentc9fc748f84857a237f47deb91f87499e82865c83
show-branch: fix commit naming breakage.

It was ignoring the generation number of the commit when naming 2nd
and later parents, showing "(linus^n)^2" for any <n> incorrectly as
"linus^2".

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