summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:58:06 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:58:06 +0900
commit69ae6660fcf8004f041ff94386bda09109d6ccea (patch)
tree4490e5deac179d26ccebdf8958ddaaa219653223 /builtin
parentMerge branch 'tq/branch-create-wo-branch-get' into maint (diff)
parentbranch: trivial style fix (diff)
downloadtgif-69ae6660fcf8004f041ff94386bda09109d6ccea.tar.xz
Merge branch 'tq/branch-style-fix' into maint
Code clean-up. * tq/branch-style-fix: branch: trivial style fix
Diffstat (limited to 'builtin')
-rw-r--r--builtin/branch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index daf054598b..ca9ed0abe3 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -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;