I haven’t found much on thin packs, and the man pages’ information is rather cryptic about this. I know it has something to do with slow connections, but what would be a “slow connection”?
What are its pros and cons? When should I use it, when should I not use it?
For the record, the man page (
index-pack) states:That would complete the
git pushman page of the--thinoption:So a “slow network” in this case is a connection where you want to send the lowest amount of data as possible.
See more at “Git fetch for many files is slow against a high-latency disk“.
In this thread, Jakub Narębski explains a bit more (in the context on using git gc on the remote side as well as on the local side):
More precisely:
The problem above was related to the use (or non-use) of
git push --thin: when do you use it or not?Turns out you do need to carefully manage your binary objects if you want git to take advantage of those thin packets: