* [PATCH] git-show-branch: show the right things when "--heads" or "--tags" is specified
@ 2005-12-23 16:35 M_
0 siblings, 0 replies; only message in thread
From: M_ @ 2005-12-23 16:35 UTC (permalink / raw)
To: git
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-23 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-23 16:35 [PATCH] git-show-branch: show the right things when "--heads" or "--tags" is specified M_
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox