branch: trivial style fix
authorTao Qingyun <taoqy@ls-a.me>
Tue, 16 Oct 2018 14:19:20 +0000 (22:19 +0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Oct 2018 02:15:20 +0000 (11:15 +0900)
Signed-off-by: Tao Qingyun <taoqy@ls-a.me>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c
index bbd006aab4b4798b7e86530fe3562c753e879bc1..1f3c7e386767a1a0a461ad123566377c4c568d59 100644 (file)
@@ -735,8 +735,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
                print_columns(&output, colopts, NULL);
                string_list_clear(&output, 0);
                return 0;
-       }
-       else if (edit_description) {
+       } else if (edit_description) {
                const char *branch_name;
                struct strbuf branch_ref = STRBUF_INIT;