Re: [PATCH v2] branch: trivial style fix
- From
Jeff King <peff@peff.net>
- Date
- Oct 16, 2018, 15:33 UTC
- Message-ID
- <20181016153322.GC29432@sigill.intra.peff.net>
- In-Reply-To
- <20181016141919.2268-1-taoqy@ls-a.me>
On Tue, Oct 16, 2018 at 10:19:20PM +0800, Tao Qingyun wrote:
Show 18 quoted lines
> Signed-off-by: Tao Qingyun <taoqy@ls-a.me>
> ---
> 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;Yep, this looks reasonable. Normally I would complain about an empty commit message, but there is really not much else to say. ;)
-Peff