From: M_ Date: Fri, 23 Dec 2005 16:35:35 GMT Subject: [PATCH] git-show-branch: show the right things when "--heads" or "--tags" is specified Message-ID: <200512231735.36092.barra_cuda@katamail.com> --- show-branch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 26c0f04b8a370ac9943bb409b8cd5e7370263f41 diff --git a/show-branch.c b/show-branch.c index c742246..2aeabd9 100644 --- a/show-branch.c +++ b/show-branch.c @@ -515,7 +515,7 @@ int main(int ac, char **av) if (all_heads + all_tags) snarf_refs(all_heads, all_tags); - if (ac) { + if (ac + all_heads + all_tags) { while (0 < ac) { append_one_rev(*av); ac--; av++; -- 1.0.0b