sha1_name: remove unnecessary braces

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Felipe Contreras committed May 7, 2013 at 16:55 UTC b5f769a0d71bc3f13f916db849ef6b4768359c4e
1 file changed +2 -3
sha1_name.c
+2 -3
@@ -465,12 +465,11 @@ static int get_sha1_basic(const char *str, int len, unsigned char *sha1)
465 int ret;
466 /* try the @{-N} syntax for n-th checkout */
467 ret = interpret_branch_name(str, &buf);
468 - if (ret > 0) {
468 + if (ret > 0)
469 /* substitute this branch name and restart */
470 return get_sha1_1(buf.buf, buf.len, sha1, 0);
471 - } else if (ret == 0) {
471 + else if (ret == 0)
472 return -1;
473 - }
473 /* allow "@{...}" to mean the current branch reflog */
474 refs_found = dwim_ref("HEAD", 4, sha1, &real_ref);
475 } else if (reflog_len)