From: Jonas Fonseca Date: Fri, 14 Jul 2006 21:50:39 GMT Subject: [PATCH] urls.txt: Use substitution to escape square brackets Message-ID: <20060714215039.GA21994@diku.dk> In-Reply-To: <11528726881431-git-send-email-alp@atoker.com> This changes "[user@]" to use {startsb} and {endsb} to insert [ and ], similar to how {caret} is used in git-rev-parse.txt. Signed-off-by: Jonas Fonseca --- Alternate "fix". --- diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index 7ce7151..41754d5 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -9,6 +9,8 @@ # the command. [attributes] caret=^ +startsb=[ # [ +endsb=] # ] ifdef::backend-docbook[] [gitlink-inlinemacro] diff --git a/Documentation/urls.txt b/Documentation/urls.txt index 93378d2..2950ac9 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://{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 and also supports an -- Jonas Fonseca