summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b595ed1)
raw | patch | inline | side by side (parent: b595ed1)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 11 Sep 2005 01:24:46 +0000 (18:24 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 11 Sep 2005 01:27:20 +0000 (18:27 -0700) |
It mistakenly failed to output anything when given a single head.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
show-branch.c | patch | blob | history |
diff --git a/show-branch.c b/show-branch.c
index c117c536da61af0fe2cb12a1257e4537eaef92e3..262acf5cefc8053a012b2251bfbfb86177f80a90 100644 (file)
--- a/show-branch.c
+++ b/show-branch.c
return show_independent(rev, num_rev, ref_name, rev_mask);
/* Show list; --more=-1 means list-only */
- if (1 < num_rev) {
+ if (1 < num_rev || extra < 0) {
for (i = 0; i < num_rev; i++) {
int j;
int is_head = rev_is_head(head_path,