summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-06-18 11:16:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-18 11:16:53 -0700
commitfd8b005c0d5bcc91c3b5a883f72addc0e51fb38b (patch)
tree13684c1fd5fb3f6355666a58c01c08f178a55328
parentUpdate draft release notes to 1.7.2 (diff)
parentclone: reword messages to match the end-user perception (diff)
downloadtgif-fd8b005c0d5bcc91c3b5a883f72addc0e51fb38b.tar.xz
Merge branch 'ph/clone-message-reword'
* 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 4457922427..efb1e6faa5 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);
/*