threads / patch / 35305

patchgit-fetch-pack uses URLs like git-fetch

Subject: [PATCH] git-fetch-pack uses URLs like git-fetch

## tl;dr

4 messages between Nov 8, 2013 and Nov 11, 2013. Diffs are folded; open one to read it.

replies: 3people: 2as markdown or json

Torsten Bögershausen· Nov 8, 2013, 17:54 UTC · lore
"git fetch-pack" allows [<host>:]<directory> to point out the source
repository.
Use the term <repository>, which is already used in "git fetch" or "git pull"
to describe URLs supported by Git.
---
 Documentation/git-fetch-pack.txt | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
Show changes to Documentation/git-fetch-pack.txt +7 −8
diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
index 444b805..93b5067 100644
--- a/Documentation/git-fetch-pack.txt
+++ b/Documentation/git-fetch-pack.txt
@@ -12,7 +12,7 @@ SYNOPSIS
 'git fetch-pack' [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]
 	[--upload-pack=<git-upload-pack>]
 	[--depth=<n>] [--no-progress]
-	[-v] [<host>:]<directory> [<refs>...]
+	[-v] <repository> [<refs>...]
 
 DESCRIPTION
 -----------
@@ -97,19 +97,18 @@ be in a separate packet, and the list must end with a flush packet.
 -v::
 	Run verbosely.
 
-<host>::
-	A remote host that houses the repository.  When this
-	part is specified, 'git-upload-pack' is invoked via
-	ssh.
-
-<directory>::
-	The repository to sync from.
+<repository>::
+	The URL to the remote repository.
 
 <refs>...::
 	The remote heads to update from. This is relative to
 	$GIT_DIR (e.g. "HEAD", "refs/heads/master").  When
 	unspecified, update from all heads the remote side has.
 
+SEE ALSO
+--------
+linkgit:git-fetch[1]
+
 GIT
 ---
 Part of the linkgit:git[1] suite
-- 
1.8.4.457.g424cb08
Junio C Hamano· Nov 11, 2013, 17:44 UTC · re: Torsten Bögershausen · lore

Re: [PATCH] git-fetch-pack uses URLs like git-fetch

Torsten Bögershausen <tboegi@web.de> writes:
> "git fetch-pack" allows [<host>:]<directory> to point out the source
> repository.
> Use the term <repository>, which is already used in "git fetch" or "git pull"
> to describe URLs supported by Git.
Sign-off?
Show 43 quoted lines
> ---
>  Documentation/git-fetch-pack.txt | 15 +++++++--------
>  1 file changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
> index 444b805..93b5067 100644
> --- a/Documentation/git-fetch-pack.txt
> +++ b/Documentation/git-fetch-pack.txt
> @@ -12,7 +12,7 @@ SYNOPSIS
>  'git fetch-pack' [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]
>  	[--upload-pack=<git-upload-pack>]
>  	[--depth=<n>] [--no-progress]
> -	[-v] [<host>:]<directory> [<refs>...]
> +	[-v] <repository> [<refs>...]
>  
>  DESCRIPTION
>  -----------
> @@ -97,19 +97,18 @@ be in a separate packet, and the list must end with a flush packet.
>  -v::
>  	Run verbosely.
>  
> -<host>::
> -	A remote host that houses the repository.  When this
> -	part is specified, 'git-upload-pack' is invoked via
> -	ssh.
> -
> -<directory>::
> -	The repository to sync from.
> +<repository>::
> +	The URL to the remote repository.
>  
>  <refs>...::
>  	The remote heads to update from. This is relative to
>  	$GIT_DIR (e.g. "HEAD", "refs/heads/master").  When
>  	unspecified, update from all heads the remote side has.
>  
> +SEE ALSO
> +--------
> +linkgit:git-fetch[1]
> +
>  GIT
>  ---
>  Part of the linkgit:git[1] suite
Torsten Bögershausen· Nov 11, 2013, 19:56 UTC · re: Junio C Hamano · lore

Re: [PATCH] git-fetch-pack uses URLs like git-fetch

On 2013-11-11 18.44, Junio C Hamano wrote:
Show 8 quoted lines
> Torsten Bögershausen <tboegi@web.de> writes:
> 
>> "git fetch-pack" allows [<host>:]<directory> to point out the source
>> repository.
>> Use the term <repository>, which is already used in "git fetch" or "git pull"
>> to describe URLs supported by Git.
> 
> Sign-off?

Sorry, forgot -s. If the patch makes sense otherwise, are you willing to squeeze this in:

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Show 49 quoted lines
> 
>> ---
>>  Documentation/git-fetch-pack.txt | 15 +++++++--------
>>  1 file changed, 7 insertions(+), 8 deletions(-)
>>
>> diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
>> index 444b805..93b5067 100644
>> --- a/Documentation/git-fetch-pack.txt
>> +++ b/Documentation/git-fetch-pack.txt
>> @@ -12,7 +12,7 @@ SYNOPSIS
>>  'git fetch-pack' [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]
>>  	[--upload-pack=<git-upload-pack>]
>>  	[--depth=<n>] [--no-progress]
>> -	[-v] [<host>:]<directory> [<refs>...]
>> +	[-v] <repository> [<refs>...]
>>  
>>  DESCRIPTION
>>  -----------
>> @@ -97,19 +97,18 @@ be in a separate packet, and the list must end with a flush packet.
>>  -v::
>>  	Run verbosely.
>>  
>> -<host>::
>> -	A remote host that houses the repository.  When this
>> -	part is specified, 'git-upload-pack' is invoked via
>> -	ssh.
>> -
>> -<directory>::
>> -	The repository to sync from.
>> +<repository>::
>> +	The URL to the remote repository.
>>  
>>  <refs>...::
>>  	The remote heads to update from. This is relative to
>>  	$GIT_DIR (e.g. "HEAD", "refs/heads/master").  When
>>  	unspecified, update from all heads the remote side has.
>>  
>> +SEE ALSO
>> +--------
>> +linkgit:git-fetch[1]
>> +
>>  GIT
>>  ---
>>  Part of the linkgit:git[1] suite
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
Junio C Hamano· Nov 11, 2013, 20:17 UTC · re: Torsten Bögershausen · lore

Re: [PATCH] git-fetch-pack uses URLs like git-fetch

Torsten Bögershausen <tboegi@web.de> writes:
Show 9 quoted lines
> On 2013-11-11 18.44, Junio C Hamano wrote:
>> Torsten Bögershausen <tboegi@web.de> writes:
>> 
>>> "git fetch-pack" allows [<host>:]<directory> to point out the source
>>> repository.
>>> Use the term <repository>, which is already used in "git fetch" or "git pull"
>>> to describe URLs supported by Git.
>> 
>> Sign-off?
> If the patch makes sense otherwise, are you willing to squeeze this in:
>
> Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Will do; thanks.

← back to recent threads