This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: git conversion in progress
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>
- Cc: Georg-Johann Lay <avr at gjlay dot de>, <gcc at gcc dot gnu dot org>
- Date: Tue, 14 Jan 2020 16:17:35 +0000
- Subject: Re: git conversion in progress
- Ironport-sdr: /3aAFoOPA6z9kfx+chzszME04NAAvs9p9ndlboEeKdSFXynBhade+iiWjKuoOMeppyv4GofQoG ATHh+rsYiZldQsGLF+JGMVKLvbmDJyebwj1deR4y27BAHi8Xdsp0CyLrE8er8MnrqeRhsYgm6y X2n+ny/FjpHW0cmyuGuXAkxOlqNGDBa/MoYZU28ndRrCHhcXW3vnPx8iGJZwlNEBKCSoMwNmce FQde3htjJIDOM2zKnhfr9+FqZAhQIktCGNiv1YkHWaMIbgHDZ5VLzGg9YRck3lZ7muhWXM+L9r b6I=
- Ironport-sdr: CyTTz760vtxCB4LtA6j0+trmBcRI5i5Bjnq2ayuq35Ke94GZKDDcZxQBvTkrz80pg025D04OUp 1hS21kHud2RXswMvMhs29HSWWxf0xa8fOHsGyuPy2x+tCfXZiVSL/CGfTxoiS7eZRH/GGgS9Jw dhy7zqsAPh0yZg7p0m/gXNx1LqOtWiRMUylBLFMAsgNPTmd4DtH/DYr3LNuY+sQKUk0/+hjvL2 Vi5VUA3yC1Ri2RJlw5VBl8q6nMl3Ww3OgG+LY3Yk2Huuh3heWAOGeSPIAlsEoka/TbTWVfho0Z Y7E=
- References: <alpine.DEB.2.21.2001110102500.13991@digraph.polyomino.org.uk> <90f9f06c-b45b-ce2b-8063-258cb7509158@gjlay.de> <3559f5d4-1d9c-35d5-4f77-bc21786589c5@foss.arm.com>
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