▲ | pizza234 5 days ago | ||||||||||||||||
> Would it be incorrect to say that most of the bloat relates to historical revisions? Based on my experience (YMMV), I think it is incorrect, yes, because any time I've performed a shallow clone of a repository, the saving wasn't as much as one would intuitively imagine (in other words: history is stored very efficiently). | |||||||||||||||||
▲ | spyrja 5 days ago | parent [-] | ||||||||||||||||
Doing a bit of digging seems to confirm that, considering that git actually does remove a lot of redundant files during the garbage collection phase. It does however store complete files (unlike a VCS like mercurial which stores deltas) so nonetheless it still might benefit from a download-the-current-snapshot-first approach. | |||||||||||||||||
|