{"thread":{"id":"2917","subject":"[PATCH] git-show-branch: show the right things when \"--heads\" or \"--tags\" is specified","startedAt":"2005-12-23T16:35:35Z","lastAt":"2005-12-23T16:35:35Z","messageCount":1,"participants":["M_"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"13984","messageId":"200512231735.36092.barra_cuda@katamail.com","threadId":"2917","inReplyTo":null,"subject":"[PATCH] git-show-branch: show the right things when \"--heads\" or \"--tags\" is specified","fromName":"M_","fromEmail":"barra_cuda@katamail.com","sentAt":"2005-12-23T16:35:35Z","receivedAt":"2005-12-23T16:35:35Z","isPatch":true,"sender":{"key":"barra_cuda@katamail.com","avatar":"https://avatars.githubusercontent.com/u/16371673?v=4"},"body":"\n---\n\n show-branch.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n26c0f04b8a370ac9943bb409b8cd5e7370263f41\ndiff --git a/show-branch.c b/show-branch.c\nindex c742246..2aeabd9 100644\n--- a/show-branch.c\n+++ b/show-branch.c\n@@ -515,7 +515,7 @@ int main(int ac, char **av)\n        if (all_heads + all_tags)\n                snarf_refs(all_heads, all_tags);\n\n-       if (ac) {\n+       if (ac + all_heads + all_tags) {\n                while (0 < ac) {\n                        append_one_rev(*av);\n                        ac--; av++;\n--\n1.0.0b\n"}]}