Merge branch 'tq/branch-style-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2018 13:58:06 +0000 (22:58 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2018 13:58:06 +0000 (22:58 +0900)
Code clean-up.

* tq/branch-style-fix:
branch: trivial style fix

builtin/branch.c
index daf054598ba0b8ba7c515326891a0c47b90a38d5..ca9ed0abe3fc176368a321760ecde8db55760d2f 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;