Re: [PATCH 00/23] Preliminary pack v4 support

2013-08-27 Thread Duy Nguyen
On Wed, Aug 28, 2013 at 9:58 AM, Nicolas Pitre wrote: >> But what if we store >> appended objects in OBJ_REF_DELTA format where base ref is empty >> tree/commit and cached by sha1_file.c? > > I don't follow you here. Missing objects need to be added to the pack, > they can't be cached anywhere.

Re: [PATCH 00/23] Preliminary pack v4 support

2013-08-27 Thread Nicolas Pitre
On Wed, 28 Aug 2013, Duy Nguyen wrote: > On Tue, Aug 27, 2013 at 11:44 PM, Junio C Hamano wrote: > > As you have "0-index" escape hatch for SHA-1 table, but no similar > > escape hatch for the people's name table, I can see why it may be > > cumbersome to fix a thin pack by only appending to a re

Re: [PATCH 00/23] Preliminary pack v4 support

2013-08-27 Thread Duy Nguyen
On Tue, Aug 27, 2013 at 11:44 PM, Junio C Hamano wrote: > As you have "0-index" escape hatch for SHA-1 table, but no similar > escape hatch for the people's name table, I can see why it may be > cumbersome to fix a thin pack by only appending to a received > packfile and updating a few header fiel

Re: [PATCH 00/23] Preliminary pack v4 support

2013-08-27 Thread Junio C Hamano
Nicolas Pitre writes: > On Tue, 27 Aug 2013, Junio C Hamano wrote: > >> Nicolas Pitre writes: >> ... >> > I'd like to preserve the author time stamps as they relate to where in >> > the world I was when the corresponding code was written. You'll notice >> > I didn't work on the code in the sam

Re: [PATCH 00/23] Preliminary pack v4 support

2013-08-27 Thread Nicolas Pitre
On Tue, 27 Aug 2013, Junio C Hamano wrote: > Nicolas Pitre writes: > > > Subject says it all... at last ! > > > > This can also be fetched here: > > > > git://git.linaro.org/people/nico/git > > > > Demonstration of what it does at the moment: > > > > http://article.gmane.org/gmane.comp.v

Re: [PATCH 00/23] Preliminary pack v4 support

2013-08-27 Thread Junio C Hamano
Nicolas Pitre writes: > Subject says it all... at last ! > > This can also be fetched here: > > git://git.linaro.org/people/nico/git > > Demonstration of what it does at the moment: > > http://article.gmane.org/gmane.comp.version-control.git/233038 > > I'd like to preserve the author

[PATCH 00/23] Preliminary pack v4 support

2013-08-26 Thread Nicolas Pitre
Subject says it all... at last ! This can also be fetched here: git://git.linaro.org/people/nico/git Demonstration of what it does at the moment: http://article.gmane.org/gmane.comp.version-control.git/233038 I'd like to preserve the author time stamps as they relate to where i