mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
clone: Quote user supplied path in a single quote pair
Without this patch, $ git clone foo . results in this: Cloning into .... done. With it: Cloning into '.'... done. Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
25f745fbec
commit
8debf69638
|
@ -577,9 +577,9 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
|
|||
|
||||
if (0 <= option_verbosity) {
|
||||
if (option_bare)
|
||||
printf(_("Cloning into bare repository %s...\n"), dir);
|
||||
printf(_("Cloning into bare repository '%s'...\n"), dir);
|
||||
else
|
||||
printf(_("Cloning into %s...\n"), dir);
|
||||
printf(_("Cloning into '%s'...\n"), dir);
|
||||
}
|
||||
init_db(option_template, INIT_DB_QUIET);
|
||||
write_config(&option_config);
|
||||
|
|
Loading…
Reference in a new issue