{"thread":{"id":"5250","subject":"[PATCH 01/28] blame.c return cleanup","startedAt":"2006-08-14T20:18:11Z","lastAt":"2006-08-14T20:18:11Z","messageCount":1,"participants":["David Rientjes"],"isPatch":true,"patchVersion":1,"patchTotal":28},"messages":[{"id":"25281","messageId":"Pine.LNX.4.63.0608141317170.19383@chino.corp.google.com","threadId":"5250","inReplyTo":null,"subject":"[PATCH 01/28] blame.c return cleanup","fromName":"David Rientjes","fromEmail":"rientjes@google.com","sentAt":"2006-08-14T20:18:11Z","receivedAt":"2006-08-14T20:18:11Z","isPatch":true,"sender":{"key":"rientjes@google.com","avatar":null},"body":"Removes conditional from return\n\n\t\tDavid\n\nSigned-off-by: David Rientjes <rientjes@google.com>\n---\n blame.c |    5 +----\n 1 files changed, 1 insertions(+), 4 deletions(-)\n\ndiff --git a/blame.c b/blame.c\nindex 7099b53..54a43d5 100644\n--- a/blame.c\n+++ b/blame.c\n@@ -351,10 +351,7 @@ static int fill_util_info(struct commit \n \tassert(util);\n \tassert(util->pathname);\n \n-\tif (get_blob_sha1(commit->tree, util->pathname, util->sha1))\n-\t\treturn 1;\n-\telse\n-\t\treturn 0;\n+\treturn !!get_blob_sha1(commit->tree, util->pathname, util->sha1);\n }\n \n static void alloc_line_map(struct commit *commit)\n-- \n1.4.2.g89bb-dirty\n"}]}