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

Re: [PATCH] Remove references to git-fetch-pack from "git clone" documentation.

From
Steve Haslam <shaslam@lastminute.com>
Date
Jul 28, 2008, 12:32 UTC
Message-ID
<488DBC72.8040204@lastminute.com>
In-Reply-To
<alpine.DEB.1.00.0807260523520.26810@eeepc-johanness>
Johannes Schindelin wrote:
Show 10 quoted lines
> Hi,
>
> On Fri, 25 Jul 2008, Steve Haslam wrote
>> "git clone" no longer calls "git-fetch-pack",
>>     
>
> So it calls it internally, avoiding fork() and exec().  But the code is 
> still git-fetch-pack's.  The difference should be lost on the regular Git 
> user.
>   

Well, I would say that the git-clone command uses code that is also used by the git-fetch-pack command; but as you indicate, this is a minor implementation detail.

I think that the documentation was perhaps too explicit and as a result stale: git-clone certainly does not work any more by creating a "--exec=..." argument to pass to the git-fetch-pack command even internally, it calls code in transport.c. As you say, the difference is immaterial to most users, and a simplified version of the documentation should be adequate (and possibly clearer).

SRH
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 4 in “Remove references to git-fetch-pack from "git clone" documentation.”
  1. Remove references to git-fetch-pack from "git clone" documentation.Steve Haslam, Jul 25, 2008
  2. Johannes SchindelinJul 26, 2008
  3. Steve HaslamJul 28, 2008
  4. Johannes SchindelinJul 28, 2008

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.