git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Torsten Bögershausen <tboegi@web.de>
Date
Nov 11, 2013, 19:56 UTC
Message-ID
<52813651.7000701@web.de>
In-Reply-To
<xmqqk3gen888.fsf@gitster.dls.corp.google.com>
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
> 
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “git-fetch-pack uses URLs like git-fetch”
  1. git-fetch-pack uses URLs like git-fetchTorsten Bögershausen, Nov 8, 2013
  2. Junio C HamanoNov 11, 2013
  3. Torsten BögershausenNov 11, 2013
  4. Junio C HamanoNov 11, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.