threads / patch / 33920

patchurls.txt: avoid auto converting to hyperlink

Subject: [PATCH] urls.txt: avoid auto converting to hyperlink

## tl;dr

2 messages between May 24, 2013 and May 24, 2013. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Nguyễn Thái Ngọc Duy· May 24, 2013, 15:44 UTC · lore

file:///path/to/repo.git/ is converted to a hyperlink while others are not. Put a backslash to avoid the conversion. Tested with asciidoc 8.6.5.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Documentation/urls.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/urls.txt +1 −1
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 3ca122f..60ba300 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -33,7 +33,7 @@ For local repositories, also supported by Git natively, the following
 syntaxes may be used:
 
 - /path/to/repo.git/
-- file:///path/to/repo.git/
+- \file:///path/to/repo.git/
 
 ifndef::git-clone[]
 These two syntaxes are mostly equivalent, except when cloning, when
-- 
1.8.2.83.gc99314b

← back to recent threads