Skip to contentSkip to conversation

Fixup: Second argument may be any arbitrary string

PATCH In review Ramkumar Ramachandra 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 Fixup: Second argument may be any arbitrary string

This is intended to be a fixup for commit ad466d1 in pu. As Jonathan Neider pointed out, the second argument may be any arbitrary string, and need not conform to any URL-like shape.

---
 Documentation/git-remote-helpers.txt |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
Documentation/git-remote-helpers.txt +2 -3
index 25a0a16..1d0de7f 100644
@@ -44,9 +44,8 @@ INVOCATION
 Remote helper programs are invoked with one or (optionally) two
 arguments. The first argument specifies a remote repository as in git;
 it is either the name of a configured remote or a URL. The second
-argument specifies a URL of the form '<transport>://<address>' or
-'<transport>::<address>', where '<address>' may be an arbitrary
-string.
+argument specifies a URL; it is usually of the form
+'<transport>://<address>', but any arbitrary string is possible.
 
 When git encounters a URL of the form '<transport>://<address>', where
 '<transport>' is a protocol that it cannot handle natively, it
Signature · 1 line
1.7.0.4