diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2014-01-29 05:25:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-31 10:44:04 -0800 |
commit | 4824d1b8c2d0e9e6a549c836aa6a7698fdba021b (patch) | |
tree | 9ce3385866adae9b58215052fd1d94129d7ccba3 | |
parent | git-svn: workaround for a bug in svn serf backend (diff) | |
download | tgif-4824d1b8c2d0e9e6a549c836aa6a7698fdba021b.tar.xz |
bisect.c: reduce scope of variable
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | bisect.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -685,7 +685,6 @@ static void mark_expected_rev(char *bisect_rev_hex) static int bisect_checkout(char *bisect_rev_hex, int no_checkout) { - int res; mark_expected_rev(bisect_rev_hex); @@ -696,6 +695,7 @@ static int bisect_checkout(char *bisect_rev_hex, int no_checkout) die("update-ref --no-deref HEAD failed on %s", bisect_rev_hex); } else { + int res; res = run_command_v_opt(argv_checkout, RUN_GIT_CMD); if (res) exit(res); |