From patchwork Tue Oct 16 14:19:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Qingyun X-Patchwork-Id: 10643599 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5FDA613B0 for ; Tue, 16 Oct 2018 14:19:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FE3829AA0 for ; Tue, 16 Oct 2018 14:19:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4423829F64; Tue, 16 Oct 2018 14:19:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A3A029AA0 for ; Tue, 16 Oct 2018 14:19:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbeJPWKb (ORCPT ); Tue, 16 Oct 2018 18:10:31 -0400 Received: from smtpbgsg2.qq.com ([54.254.200.128]:53180 "EHLO smtpbgsg2.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726986AbeJPWKb (ORCPT ); Tue, 16 Oct 2018 18:10:31 -0400 X-QQ-mid: Xesmtp6t1539699585tswwcrmuv Received: from localhost.localdomain (unknown [218.82.50.250]) by esmtp4.qq.com (ESMTP) with id ; Tue, 16 Oct 2018 22:19:45 +0800 (CST) X-QQ-SSF: B1000000000000F0F5100700000000Z X-QQ-FEAT: 0ESs8nxzjD80PLw6m5eZ5xnqrS6Tc79s7RmACzffMo0+hP10QMHbYwhkN1p/z /AwA0lc+i/iJCOHoeCpcgAHH0jtAkg6RgKYOAHRdg1aFpxmeBNXHaFOR1lxYKzyjvcwwIqC M4idnQQ6P5ZGP9l4DNVR1DnwEeCnH9PM5aLu3RGPCR1eYYhAHOnkM8ZgVfHDzZNFva1NByF 5CRV8q8LzOUjL2mz9Lqdjrdgq/LGVvsNuMKqDcgG5J8LeH8gJ0MkwYxglYnJwJWXjZowIVe 7FD3SmHMIUcgpzLymT42HjfFMl6v7/jzkJOQ== X-QQ-GoodBg: 0 From: Tao Qingyun To: peff@peff.net Cc: git@vger.kernel.org, gitster@pobox.com, Tao Qingyun Subject: [PATCH v2] branch: trivial style fix Date: Tue, 16 Oct 2018 22:19:20 +0800 Message-Id: <20181016141919.2268-1-taoqy@ls-a.me> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181005095213.12509-1-taoqy@ls-a.me> References: <20181005095213.12509-1-taoqy@ls-a.me> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: Xesmtp:ls-a.me:bgforeign:bgforeign4 X-QQ-Bgrelay: 1 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tao Qingyun --- builtin/branch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/branch.c b/builtin/branch.c index c396c41533..0aa3dac27b 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -716,8 +716,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;