Skip to content

Commit 272a36b

Browse files
artagnongitster
authored andcommitted
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. Signed-off-by: Ramkumar Ramachandra <[email protected]> Acked-by: Sverre Rabbelier <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b6c8d2d commit 272a36b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/git-remote-helpers.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ INVOCATION
4545
Remote helper programs are invoked with one or (optionally) two
4646
arguments. The first argument specifies a remote repository as in git;
4747
it is either the name of a configured remote or a URL. The second
48-
argument specifies a URL of the form '<transport>://<address>' or
49-
'<transport>::<address>', where '<address>' may be an arbitrary
50-
string.
48+
argument specifies a URL; it is usually of the form
49+
'<transport>://<address>', but any arbitrary string is possible.
5150

5251
When git encounters a URL of the form '<transport>://<address>', where
5352
'<transport>' is a protocol that it cannot handle natively, it

0 commit comments

Comments
 (0)