Skip to content

Commit 958ff4a

Browse files
committed
Merge branch 'ph/clone-message-reword' into maint
* ph/clone-message-reword: clone: reword messages to match the end-user perception
2 parents 0d2416e + 921eabd commit 958ff4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin/clone.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
464464
set_git_dir(make_absolute_path(git_dir));
465465

466466
if (0 <= option_verbosity)
467-
printf("Cloning into %s...\n", get_git_dir());
467+
printf("Cloning into %s%s...\n",
468+
option_bare ? "bare repository " : "", dir);
468469
init_db(option_template, INIT_DB_QUIET);
469470

470471
/*

0 commit comments

Comments
 (0)