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

Re: [PATCH] Documentation: Fix ssh:// URLs in generated documentation

From
Junio C Hamano <junkio@cox.net>
Date
Jul 13, 2006, 04:58 UTC
Message-ID
<7vpsgaw16d.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<11527413212127-git-send-email-alp@atoker.com>
Alp Toker <alp@atoker.com> writes:
Show 5 quoted lines
> Commit c3f17061be95de3498449a548e93883aebff23d6 was causing warnings
> during doc generation due to bad asciidoc markup.
>
> This resulted in "ssh://[user@]host.xz/path/to/repo.git/" being rendered
> as "host.xz/path/to/repo.git/" in the man pages and html output.
I wonder if this is with less formatting impact then.
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 9abec80..93378d2 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -10,9 +10,9 @@ to name the remote repository:
 - https://host.xz/path/to/repo.git/
 - git://host.xz/path/to/repo.git/
 - git://host.xz/~user/path/to/repo.git/
-- ssh://[user@]host.xz/path/to/repo.git/
-- ssh://[user@]host.xz/~user/path/to/repo.git/
-- ssh://[user@]host.xz/~/path/to/repo.git
+- ssh://+++[user@+++]host.xz/path/to/repo.git/
+- ssh://+++[user@+++]host.xz/~user/path/to/repo.git/
+- ssh://+++[user@+++]host.xz/~/path/to/repo.git
 ===============================================================
 
 SSH Is the default transport protocol and also supports an
Previous: Alp TokerNext: Alp Toker
Message 2 of 3 in “Documentation: Fix ssh:// URLs in generated documentation”
  1. Documentation: Fix ssh:// URLs in generated documentationAlp Toker, Jul 12, 2006
  2. Junio C HamanoJul 13, 2006
  3. Alp TokerJul 13, 2006

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.