summaryrefslogtreecommitdiff
path: root/builtin/clone.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-10 07:52:52 (GMT)
commit3781fcce05c16dcb0714c817ecfabbe8e1ffe62c (patch)
tree03c28529fc83f850d933253cd320d2174579a260 /builtin/clone.c
parente84d7b74c6e59fac20209c4759791f39afc0e25b (diff)
downloadgit-3781fcce05c16dcb0714c817ecfabbe8e1ffe62c.zip
git-3781fcce05c16dcb0714c817ecfabbe8e1ffe62c.tar.gz
git-3781fcce05c16dcb0714c817ecfabbe8e1ffe62c.tar.bz2
i18n: git-clone "Cloning into" message
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>
Diffstat (limited to 'builtin/clone.c')
-rw-r--r--builtin/clone.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index f46d09b..db0240d 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);
/*