{"thread":{"id":"5271","subject":"[PATCH 22/28] http-push.c cleanup","startedAt":"2006-08-14T20:37:05Z","lastAt":"2006-08-14T20:37:05Z","messageCount":1,"participants":["David Rientjes"],"isPatch":true,"patchVersion":1,"patchTotal":28},"messages":[{"id":"25303","messageId":"Pine.LNX.4.63.0608141336200.19383@chino.corp.google.com","threadId":"5271","inReplyTo":null,"subject":"[PATCH 22/28] http-push.c cleanup","fromName":"David Rientjes","fromEmail":"rientjes@google.com","sentAt":"2006-08-14T20:37:05Z","receivedAt":"2006-08-14T20:37:05Z","isPatch":true,"sender":{"key":"rientjes@google.com","avatar":null},"body":"Removes conditional return.\n\n\t\tDavid\n\nSigned-off-by: David Rientjes <rientjes@google.com>\n---\n http-push.c |    5 +----\n 1 files changed, 1 insertions(+), 4 deletions(-)\n\ndiff --git a/http-push.c b/http-push.c\nindex 0359ae5..511875f 100644\n--- a/http-push.c\n+++ b/http-push.c\n@@ -2186,10 +2186,7 @@ static int verify_merge_base(unsigned ch\n \tstruct commit *branch = lookup_commit(branch_sha1);\n \tstruct commit_list *merge_bases = get_merge_bases(head, branch, 1);\n \n-\tif (merge_bases && !merge_bases->next && merge_bases->item == branch)\n-\t\treturn 1;\n-\n-\treturn 0;\n+\treturn (merge_bases && !merge_bases->next && merge_bases->item == branch)\n }\n \n static int delete_remote_branch(char *pattern, int force)\n-- \n1.4.2.g89bb-dirty\n"}]}