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

[PATCH 3/4] Documentation/urls: Remove spurious example markers

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 21, 2010, 17:30 UTC
Message-ID
<837485763fd0598576e0c9470ae80f05750900e4.1269192495.git.git@drmicha.warpmail.net>
In-Reply-To
<cover.1269192495.git.git@drmicha.warpmail.net>

In urls.txt (which is included from git-{clone,fetch,push}.txt) several item lists are surrounded by example block markers. This is problematic for two reasons:

- None of these lists are example lists, so they should not be marked as
  such semantically.
- The html output looks weird (bulleted list with left sidebar).

Therefore, remove the example block markers. Output by the man backend is uneffected.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
 Documentation/urls.txt |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index d813ceb..459a394 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -4,7 +4,6 @@ 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{startsb}:port{endsb}/path/to/repo.git/
 - https://host.xz{startsb}:port{endsb}/path/to/repo.git/
@@ -14,7 +13,6 @@ to name the remote repository:
 - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
 - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/
 - ssh://{startsb}user@{endsb}host.xz/~/path/to/repo.git
-===============================================================
 
 SSH is the default transport protocol over the network.  You can
 optionally specify which user to log-in as, and an alternate,
@@ -23,18 +21,14 @@ username expansion, as does the native git protocol, but
 only the former supports port specification. The following
 three are identical to the last three above, respectively:
 
-===============================================================
 - {startsb}user@{endsb}host.xz:/path/to/repo.git/
 - {startsb}user@{endsb}host.xz:~user/path/to/repo.git/
 - {startsb}user@{endsb}host.xz:path/to/repo.git
-===============================================================
 
 To sync with a local directory, you can use:
 
-===============================================================
 - /path/to/repo.git/
 - file:///path/to/repo.git/
-===============================================================
 
 ifndef::git-clone[]
 They are mostly equivalent, except when cloning.  See
-- 
1.7.0.2.358.g30511
Previous: Michael J GruberNext: Michael J Gruber
Message 4 of 5 in “Various unrelated documentation fixes”
  1. 0/4 Various unrelated documentation fixesMichael J Gruber, Mar 21, 2010
  2. 1/4 Documentation/git-reflog: Fix formatting of command listsMichael J Gruber, Mar 21, 2010
  3. 2/4 Documentation/gitdiffcore: Remove misleading date in headingMichael J Gruber, Mar 21, 2010
  4. 3/4 Documentation/urls: Remove spurious example markersMichael J Gruber, Mar 21, 2010
  5. 4/4 Documentation/git-clone: Transform description list into item listMichael J Gruber, Mar 21, 2010

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.