From patchwork Tue Apr 2 05:38:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denton Liu X-Patchwork-Id: 10881029 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 062DF17E0 for ; Tue, 2 Apr 2019 05:38:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E742B287E0 for ; Tue, 2 Apr 2019 05:38:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAC0E2887B; Tue, 2 Apr 2019 05:38:46 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 8755E287E0 for ; Tue, 2 Apr 2019 05:38:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726900AbfDBFip (ORCPT ); Tue, 2 Apr 2019 01:38:45 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43942 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbfDBFio (ORCPT ); Tue, 2 Apr 2019 01:38:44 -0400 Received: by mail-pf1-f193.google.com with SMTP id c8so5752374pfd.10 for ; Mon, 01 Apr 2019 22:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CdGzzqhCOmcUH8PRQH5WqtxdUeCyBF1jd6Fva0omfM4=; b=PMnDd4w1PQLUdGHyiFHEw5+jyaAmFDVSgexz+eoBR2WfQTYS97iLFotqWH05tJaNYe JfkVqndI2cNvhsUYr/xAAKm9s79JC/aPWjlL6lk5JNjAsTuUOtOFnoiBst05CJQLz8bv asCgKqEXEp+owVvqr6NG6+OqzF8Y+yxrar3LYmwFsZrQ04aDnfMq01wPXI/MMzqaTwPU CB8+GwqilH1FNDkckyArsDGVUUq1NC0Ep/L1aZCeedZZ177wXrV9XOhtbB6+7294F1XZ ndPSt+7QMCzxbWfnILHfQi0+mCbFQlTBZYVpS9eGSwyVJKvCxCqQe2d6X8clXYF5oQmz Wc+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CdGzzqhCOmcUH8PRQH5WqtxdUeCyBF1jd6Fva0omfM4=; b=JbsYeIVBYIEmRxPF7JW74AdQadl+kig0wN+VlCQ3KagLygIY9X6blkfRQk3IfnwDez FW7l7hVs8HokSnrTp4WAsFtiFYvhyskoi9kxwUFqrRfLLeatz4uKJnLI5LsT+jEHk45D 3rQBTHxnQKWNe0xI73i0XNnQHE/epBchbK2D5TRlApptwfFTMBNAjWmdjcijlU0otCNX iB/MPVCDB028Vy5TCU8k1kRXvW42mP0jk+KVtl57ftmEaHEfNTHYSRv+cQx7FfriZdwl gwxDVotFKQMsz48ApRaXJSytEK80oE3x96yTt8N5/XuA4aT06l/HOpYV+zyrn6JHyOqj ID7Q== X-Gm-Message-State: APjAAAWdlSfKvE87bR+ebIeVatoKxUO4R8qgv4q5VpGgcbrCesn7y7dR AQM8ZHYOhbtr77X8KT3VC/X2tbVk X-Google-Smtp-Source: APXvYqwhTdjR0Px2E7cNcGUZkerDlcg9CS9BXIezofSLl02Sm5fMmVex4vF9apvs/uj7/5ThT1xp0Q== X-Received: by 2002:a63:195:: with SMTP id 143mr65063912pgb.54.1554183523538; Mon, 01 Apr 2019 22:38:43 -0700 (PDT) Received: from archbookpro.localdomain (c-73-222-73-77.hsd1.ca.comcast.net. [73.222.73.77]) by smtp.gmail.com with ESMTPSA id c1sm15585686pgk.44.2019.04.01.22.38.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 22:38:42 -0700 (PDT) Date: Mon, 1 Apr 2019 22:38:41 -0700 From: Denton Liu To: Git Mailing List Cc: Robert Dailey , Jeff King , =?iso-8859-1?q?=C6var_Arnfj=F6r=F0?= Bjarmason , Elijah Newren Subject: [PATCH v2 1/2] tag: fix formatting Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Wrap usage line at ''. Also, wrap strings with '\n' at the end of string fragments instead of at the beginning of the next string fragment. Convert a space-indent into a tab-indent for style. Signed-off-by: Denton Liu --- builtin/tag.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index 02f6bd1279..faae364e0f 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -22,10 +22,11 @@ #include "ref-filter.h" static const char * const git_tag_usage[] = { - N_("git tag [-a | -s | -u ] [-f] [-m | -F ] []"), + N_("git tag [-a | -s | -u ] [-f] [-m | -F ]\n" + "\t\t []"), N_("git tag -d ..."), - N_("git tag -l [-n[]] [--contains ] [--no-contains ] [--points-at ]" - "\n\t\t[--format=] [--[no-]merged []] [...]"), + N_("git tag -l [-n[]] [--contains ] [--no-contains ] [--points-at ]\n" + "\t\t[--format=] [--[no-]merged []] [...]"), N_("git tag -v [--format=] ..."), NULL }; @@ -215,7 +216,7 @@ static void create_tag(const struct object_id *object, const char *tag, type = oid_object_info(the_repository, object, NULL); if (type <= OBJ_NONE) - die(_("bad object type.")); + die(_("bad object type.")); strbuf_addf(&header, "object %s\n"