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

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

From
Alp Toker <alp@atoker.com>
Date
Jul 14, 2006, 10:24 UTC
Message-ID
<1152872688966-git-send-email-alp@atoker.com>
In-Reply-To
<11528726881431-git-send-email-alp@atoker.com>

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.

This patch converts sections listing URL formats to verbatim.
Signed-off-by: Alp Toker <alp@atoker.com>
---
 Documentation/urls.txt |   30 ++++++++++++------------------
 1 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 9abec80..a071915 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -4,33 +4,27 @@ GIT URLS[[URLS]]
 One of the following notations can be used
 to name the remote repository:
 
-===============================================================
-- rsync://host.xz/path/to/repo.git/
-- http://host.xz/path/to/repo.git/
-- 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
-===============================================================
+	rsync://host.xz/path/to/repo.git/
+	http://host.xz/path/to/repo.git/
+	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 Is the default transport protocol and also supports an
 scp-like syntax.  Both syntaxes support username expansion,
 as does the native git protocol. The following three are
 identical to the last three above, respectively:
 
-===============================================================
-- host.xz:/path/to/repo.git/
-- host.xz:~user/path/to/repo.git/
-- host.xz:path/to/repo.git
-===============================================================
+	host.xz:/path/to/repo.git/
+	host.xz:~user/path/to/repo.git/
+	host.xz:path/to/repo.git
 
 To sync with a local directory, use:
 
-===============================================================
-- /path/to/repo.git/
-===============================================================
+	/path/to/repo.git/
 
 REMOTES
 -------
-- 
1.4.1.g28ec
Previous: Alp TokerNext: Alp Toker
Message 2 of 12 in “Revert "Documentation: Fix ssh://[user@]host.xz URL"”
  1. Revert "Documentation: Fix ssh://[user@]host.xz URL"Alp Toker, Jul 14, 2006
  2. Documentation: Fix ssh:// URLs in generated documentationAlp Toker, Jul 14, 2006
  3. Documentation: Minor capitalization typofixAlp Toker, Jul 14, 2006
  4. Junio C HamanoJul 14, 2006
  5. urls.txt: Use substitution to escape square bracketsJonas Fonseca, Jul 14, 2006
  6. Junio C HamanoJul 14, 2006
  7. Alp TokerJul 14, 2006
  8. Junio C HamanoJul 14, 2006
  9. Alp TokerJul 14, 2006
  10. urls.txt: Use substitution to escape square bracketsJunio C Hamano, Jul 14, 2006
  11. Alp TokerJul 15, 2006
  12. Make asciidoc related rules depend on asciidoc.confJonas Fonseca, Jul 15, 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.