Split up the "Cloning into %s" and "Cloning into bare repository %s" messages to make them easier to translate. Signed-off-by: Ãvar ArnfjÃrà Bjarmason <avarab@xxxxxxxxx> --- builtin/clone.c | 9 ++++++--- t/t5601-clone.sh | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/builtin/clone.c b/builtin/clone.c index f46d09b..dffcf80 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -468,9 +468,12 @@ int cmd_clone(int argc, const char **argv, const char *prefix) die(_("could not create leading directories of '%s'"), git_dir); set_git_dir(make_absolute_path(git_dir)); - if (0 <= option_verbosity) - printf("Cloning into %s%s...\n", - option_bare ? "bare repository " : "", dir); + if (0 <= option_verbosity) { + if (option_bare) + printf(_("Cloning into bare repository %s\n"), dir); + else + printf(_("Cloning into %s\n"), dir); + } init_db(option_template, INIT_DB_QUIET); /* diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 987e0c8..ecb499d 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -31,7 +31,7 @@ test_expect_success 'clone with excess parameters (2)' ' ' -test_expect_success 'output from clone' ' +test_expect_success NO_GETTEXT_POISON 'output from clone' ' rm -fr dst && git clone -n "file://$(pwd)/src" dst >output && test $(grep Clon output | wc -l) = 1 -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html