{"thread":{"id":"35753","subject":"[PATCH] bisect.c: reduce scope of variable","startedAt":"2014-01-29T13:25:00Z","lastAt":"2014-01-29T13:25:00Z","messageCount":1,"participants":["Elia Pinto"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"233887","messageId":"1391001900-6686-1-git-send-email-gitter.spiros@gmail.com","threadId":"35753","inReplyTo":null,"subject":"[PATCH] bisect.c: reduce scope of variable","fromName":"Elia Pinto","fromEmail":"gitter.spiros@gmail.com","sentAt":"2014-01-29T13:25:00Z","receivedAt":"2014-01-29T13:25:00Z","isPatch":true,"sender":{"key":"gitter.spiros@gmail.com","avatar":"https://avatars.githubusercontent.com/u/158490?v=4"},"body":"Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>\n---\n bisect.c |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/bisect.c b/bisect.c\nindex 37200b4..8448d27 100644\n--- a/bisect.c\n+++ b/bisect.c\n@@ -685,7 +685,6 @@ static void mark_expected_rev(char *bisect_rev_hex)\n \n static int bisect_checkout(char *bisect_rev_hex, int no_checkout)\n {\n-\tint res;\n \n \tmark_expected_rev(bisect_rev_hex);\n \n@@ -696,6 +695,7 @@ static int bisect_checkout(char *bisect_rev_hex, int no_checkout)\n \t\t\tdie(\"update-ref --no-deref HEAD failed on %s\",\n \t\t\t    bisect_rev_hex);\n \t} else {\n+\t\tint res;\n \t\tres = run_command_v_opt(argv_checkout, RUN_GIT_CMD);\n \t\tif (res)\n \t\t\texit(res);\n-- \n1.7.10.4\n"}]}