git conversion in progress
Joseph Myers
joseph@codesourcery.com
Tue Jan 14 17:06:00 GMT 2020
On Tue, 14 Jan 2020, Richard Earnshaw wrote:
> Well it's likely that the server would have to repack the objects on the
> fly to supply just one branch; and it does that less well than the base
> pack). So you'd probably end up with a much larger initial download
> than just fetching the entire history (currently ~750M). It would
> likely take longer to fetch as well since the server has to do much more
> work to generate that custom pack.
If you use clone with -b, it still fetches all the branches and tags that
are fetched by default and puts the branches in remotes/origin/, it just
changes which branch gets a corresponding branch set up in refs/heads/ and
checked out initially. So there is no extra repacking involved.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list