summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-06-22 08:31:20 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-22 08:31:20 -0700
commit958ff4a5973c9858c36c405c2f593cf5172e5e1c (patch)
treeb8e1bd4f5fc14ac12c88621286e2408e143b9b6e
parentMerge branch 'jn/maint-amend-missing-name' into maint (diff)
parentclone: reword messages to match the end-user perception (diff)
downloadtgif-958ff4a5973c9858c36c405c2f593cf5172e5e1c.tar.xz
Merge branch 'ph/clone-message-reword' into maint
* ph/clone-message-reword: clone: reword messages to match the end-user perception
-rw-r--r--builtin/clone.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 0bedde41f0..3a3625b2ad 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -464,7 +464,8 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
set_git_dir(make_absolute_path(git_dir));
if (0 <= option_verbosity)
- printf("Cloning into %s...\n", get_git_dir());
+ printf("Cloning into %s%s...\n",
+ option_bare ? "bare repository " : "", dir);
init_db(option_template, INIT_DB_QUIET);
/*