Re: dangling commits
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:16
Nick Williams [off-list ref] writes:
Andreas Ericsson wrote: ..quoted
Nopes. One clones over http, so you'll get all objects in the object database. The other clones over the far more clever git protocol which calculates which objects you need. Obviously you don't need dangling commits (and their related blobs), so there will be no such items.
Note that only because that is these dangling objects are packed in the past, and when fetching over http, packs are fetched as a whole.
So, is there any advantage of using http? Seems like git:// makes more sense.
As long as you can go native git:// protocol, I do not see much reason to use http:// commit walkers. OTOH, if you are firewalled and your sysadmins do not let you pass 9418/tcp outgoing, HTTP might be your only choice.