From: Denton Liu Date: Thu, 4 Apr 2019 18:25:13 +0000 (-0700) Subject: tag: fix formatting X-Git-Tag: v2.22.0-rc0~33^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/01dc801adad35d4e2f815dc1918dad057631bc0e tag: fix formatting 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 Signed-off-by: Junio C Hamano --- 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"