Community
Participate
Working Groups
Build Identifier: Command line jgit Using the --thin option doesn't work. Changing 1 byte in a 10 MB file results in all 10 MB being pushed again using SSH protocol. Reproducible: Always Steps to Reproduce: 1. Add / commit 10 MB file to local repository 2. Use JGit with --thin to push to remote via SSH (JGit takes several seconds) 3. Use hex editor to change 1 byte at the beginning of 10 MB file 4. Commit to local repository 5. Use JGit with --thin to push to remote via SSH (JGit still takes several seconds) Bandwidth monitor shows 10 MB being transferred in step 4. With C git, only 462 bytes are transferred.
This was with the 0.8.4 release.
I'm pretty sure this is fixed in commit 13bcf05a9ea2d4943faef2c879aac65d37517eb6, which will be in 0.11. The thin pack generation didn't construct the delta bases into the delta window correctly, missing a lot of opportunities for delta compression.