summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/clone.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index f46d09bf58..db0240d185 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);
/*