i18n: git-clone "Cloning into" message

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2011-02-22 23:41:28 +00:00 committed by Junio C Hamano
parent 3781fcce05
commit 5cde59895f
2 changed files with 3 additions and 3 deletions

View File

@ -470,9 +470,9 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
if (0 <= option_verbosity) { if (0 <= option_verbosity) {
if (option_bare) if (option_bare)
printf("Cloning into bare repository %s...\n", dir); printf(_("Cloning into bare repository %s...\n"), dir);
else else
printf("Cloning into %s...\n", dir); printf(_("Cloning into %s...\n"), dir);
} }
init_db(option_template, INIT_DB_QUIET); init_db(option_template, INIT_DB_QUIET);

View File

@ -31,7 +31,7 @@ test_expect_success 'clone with excess parameters (2)' '
' '
test_expect_success 'output from clone' ' test_expect_success C_LOCALE_OUTPUT 'output from clone' '
rm -fr dst && rm -fr dst &&
git clone -n "file://$(pwd)/src" dst >output && git clone -n "file://$(pwd)/src" dst >output &&
test $(grep Clon output | wc -l) = 1 test $(grep Clon output | wc -l) = 1