summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13224a2)
raw | patch | inline | side by side (parent: 13224a2)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sun, 5 Sep 2010 12:52:02 +0000 (12:52 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:58:14 +0000 (07:58 +0000) |
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>
verbose variants to make translation easier.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
builtin/gc.c | patch | blob | history |
diff --git a/builtin/gc.c b/builtin/gc.c
index 05aed1f9d43828372fbdcb842e26cd7d898f6456..74e77cb0827c3263af00c762b8673ab8bd986a08 100644 (file)
--- a/builtin/gc.c
+++ b/builtin/gc.c
*/
if (!need_to_gc())
return 0;
- fprintf(stderr,
- "Auto packing the repository for optimum performance.%s\n",
- quiet
- ? ""
- : (" You may also\n"
- "run \"git gc\" manually. See "
- "\"git help gc\" for more information."));
+ if (quiet)
+ fprintf(stderr, _("Auto packing the repository for optimum performance.\n"));
+ else
+ fprintf(stderr,
+ _("Auto packing the repository for optimum performance. You may also\n"
+ "run \"git gc\" manually. See "
+ "\"git help gc\" for more information."));
} else
append_option(argv_repack,
prune_expire && !strcmp(prune_expire, "now")