Commit 8debf696 authored by Richard Hartmann's avatar Richard Hartmann Committed by Junio C Hamano

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: default avatarRichard Hartmann <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent 25f745fb
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment