X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=show-branch.c;h=262acf5cefc8053a012b2251bfbfb86177f80a90;hb=4e48fe3f1c42519f1aad92176489eeb174a319c0;hp=c117c536da61af0fe2cb12a1257e4537eaef92e3;hpb=1f8af483df5ea7070c421489eff40ca8e508b778;p=git.git diff --git a/show-branch.c b/show-branch.c index c117c536..262acf5c 100644 --- a/show-branch.c +++ b/show-branch.c @@ -427,7 +427,7 @@ int main(int ac, char **av) 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,