On 13/04/12 10:29, Daniel Friesen wrote:
By the way, using --depth only saves you disk space (which is a trivially small amount,
I disagree, 18M vs 341M is quite noticeable.
which linked repositories can cut back on as well).
Only if you're cloning on the same filesystem. We're talking about a network operation here.
When you use --depth git still needs to go through the whole history. So whether you are using everything or try to limit by --depth it still takes the same amount of time to do an initial clone.
You're not counting the bandwidth needs. Transfering the whole amount is probably the slowest operation, not the CPU time needed to traverse the tree.