{"thread":{"id":"5259","subject":"[PATCH 10/28] builtin-push.c cleanup","startedAt":"2006-08-14T20:26:58Z","lastAt":"2006-08-14T20:26:58Z","messageCount":1,"participants":["David Rientjes"],"isPatch":true,"patchVersion":1,"patchTotal":28},"messages":[{"id":"25290","messageId":"Pine.LNX.4.63.0608141326160.19383@chino.corp.google.com","threadId":"5259","inReplyTo":null,"subject":"[PATCH 10/28] builtin-push.c cleanup","fromName":"David Rientjes","fromEmail":"rientjes@google.com","sentAt":"2006-08-14T20:26:58Z","receivedAt":"2006-08-14T20:26:58Z","isPatch":true,"sender":{"key":"rientjes@google.com","avatar":null},"body":"Removes conditional return in builtin-push.c\n\n\t\tDavid\n\nSigned-off-by: David Rientjes <rientjes@google.com>\n---\n builtin-push.c |    6 ++----\n 1 files changed, 2 insertions(+), 4 deletions(-)\n\ndiff --git a/builtin-push.c b/builtin-push.c\nindex 53bc378..c09ff2f 100644\n--- a/builtin-push.c\n+++ b/builtin-push.c\n@@ -32,10 +32,8 @@ static int expand_one_ref(const char *re\n \t/* Ignore the \"refs/\" at the beginning of the refname */\n \tref += 5;\n \n-\tif (strncmp(ref, \"tags/\", 5))\n-\t\treturn 0;\n-\n-\tadd_refspec(strdup(ref));\n+\tif (!strncmp(ref, \"tags/\", 5))\n+\t\tadd_refspec(strdup(ref));\n \treturn 0;\n }\n \n-- \n1.4.2.g89bb-dirty\n"}]}