Re: resumable git clone
Re: resumable git clone
Posted Jan 31, 2016 13:17 UTC (Sun) by kleptog (subscriber, #1183)In reply to: Re: resumable git clone by viro
Parent article: A change of maintainership for Mercurial
I think the problem with partial pack files is due to git storing the current revisions as full files and storing old revisions as diffs w.r.t. them. Which makes it hard to make sense of a partial pack file because you actually need the current revisions to make sense of the old ones.
You could make it more reliable by, if send-pack would notice it is sending 1000 revisions, to split its job internally into chucks of 100 revisions, making it more likely a partial pack will be somewhat useful. In the end you're sending the same data, just in a different order, though there is some inefficiency.
