Re: Question about how git determines the minimum packfile for a push.

2015-04-27 Thread Jeff King
On Mon, Apr 27, 2015 at 12:41:28AM +, Brad Litterell wrote: Is it possible git is not computing the delta correctly? Or does git only look at the top-level commit objects to figure out what to include in the push packfile? It's the latter. Junio mentioned that push is not as thorough

Question about how git determines the minimum packfile for a push.

2015-04-26 Thread Brad Litterell
Hi, I'm using git with a submodule containing a (large) binary toolchain where I updated the version from GCC-4.7 to 4.8. When I added 4.8 I deleted 4.7 and now want to add 4.7 back to the HEAD. As shown in the tree objects below, the 4.7 bits are still in the repository (as expected), but

Re: Question about how git determines the minimum packfile for a push.

2015-04-26 Thread Junio C Hamano
On Sun, Apr 26, 2015 at 5:41 PM, Brad Litterell b...@evidence.com wrote: Is it possible git is not computing the delta correctly? Or does git only look at the top-level commit objects to figure out what to include in the push packfile? We walk the commit graph backwards to discover the common