Code

i18n: git-clone "Cloning into" message
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 22 Feb 2011 23:41:27 +0000 (23:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Mar 2011 07:52:52 +0000 (23:52 -0800)
Separate the "Cloning into %s" and "Cloning into bare repository %s"
messages to make them easier to translate. No noticeable change
intended.

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>
builtin/clone.c

index f46d09bf5803c7957773059388b24fcd3993ce36..db0240d185611b6c20ae9a721295563fb11b54e8 100644 (file)
@@ -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);
 
        /*