]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/show-branch.c
Updates: show-branch
authorJunio C Hamano <junkio@cox.net>
Tue, 30 Aug 2005 00:19:47 +0000 (17:19 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 30 Aug 2005 00:19:47 +0000 (17:19 -0700)
commit8e5dd22b297a9a5d89d9639e6665b706ccd34282
tree8cb22d286b39dae99fbf111d9882f49f097991a8
parentd4a9ce78f6d516568bfca4d808033d9e8254c33f
Updates: show-branch

Earlier show-branch gave names only to commits reachable via first
parent ancestry chain.  Change the naming code to name everybody.

The original idea was to stop at the first merge point in the
topological order, and --more=<n> to show commits until we show <n>
more extra merge points.  However depending on the order of how we
discover the commits, it additionally showed parents of the <n>th
merge points, which was unnecessary.

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