Johannes Schindelin wrote:
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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html