git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Fix 'Cloning into' message

From
Richard Hartmann <richih.mailinglist@gmail.com>
Date
Oct 26, 2011, 17:05 UTC
Message-ID
<1319648748-9150-1-git-send-email-richih.mailinglist@gmail.com>
Without this patch,
    git clone foo .
results in this:
    Cloning into ....
    done.
With it:
    Cloning into '.'...
    done.
---
 builtin/clone.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/clone.c b/builtin/clone.c
index 488f48e..efe8b6c 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -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);
-- 
1.7.7
Next: Richard Hartmann
Message 1 of 4 in “Fix 'Cloning into' message”
  1. Fix 'Cloning into' messageRichard Hartmann, Oct 26, 2011
  2. Fix 'Cloning into' messageRichard Hartmann, Oct 27, 2011
  3. Junio C HamanoOct 27, 2011
  4. Richard HartmannOct 27, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.