Merge branch 'maint' of git://github.com/git-l10n/git-po into maint
[gitweb.git] / Documentation / urls.txt
index 64dae20b00fffc3acb0866a6c96d27f89ae2af23..9ccb24677e95b8aff605c9020bc7a0537e23f751 100644 (file)
@@ -26,6 +26,12 @@ An alternative scp-like syntax may also be used with the ssh protocol:
 
 - {startsb}user@{endsb}host.xz:path/to/repo.git/
 
+This syntax is only recognized if there are no slashes before the
+first colon. This helps differentiate a local path that contains a
+colon. For example the local path `foo:bar` could be specified as an
+absolute path or `./foo:bar` to avoid being misinterpreted as an ssh
+url.
+
 The ssh and git protocols additionally support ~username expansion:
 
 - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/~{startsb}user{endsb}/path/to/repo.git/