i18n: git-gc "Auto packing the repository" message
Split up the "Auto packing the repository" message into quiet and verbose variants to make translation easier. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
fea6128bae
commit
f6908ae86e
14
builtin/gc.c
14
builtin/gc.c
@ -219,13 +219,13 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
|
|||||||
*/
|
*/
|
||||||
if (!need_to_gc())
|
if (!need_to_gc())
|
||||||
return 0;
|
return 0;
|
||||||
fprintf(stderr,
|
if (quiet)
|
||||||
"Auto packing the repository for optimum performance.%s\n",
|
fprintf(stderr, _("Auto packing the repository for optimum performance.\n"));
|
||||||
quiet
|
else
|
||||||
? ""
|
fprintf(stderr,
|
||||||
: (" You may also\n"
|
_("Auto packing the repository for optimum performance. You may also\n"
|
||||||
"run \"git gc\" manually. See "
|
"run \"git gc\" manually. See "
|
||||||
"\"git help gc\" for more information."));
|
"\"git help gc\" for more information."));
|
||||||
} else
|
} else
|
||||||
append_option(argv_repack,
|
append_option(argv_repack,
|
||||||
prune_expire && !strcmp(prune_expire, "now")
|
prune_expire && !strcmp(prune_expire, "now")
|
||||||
|
Reference in New Issue
Block a user