From: Shawn Pearce Date: Thu, 05 Dec 2013 21:56:03 GMT Subject: Re: [PATCH] pack-objects: name pack files after trailer hash Message-ID: In-Reply-To: <20131205202807.GA19042@sigill.intra.peff.net> On Thu, Dec 5, 2013 at 12:28 PM, Jeff King wrote: > Subject: pack-objects: name pack files after trailer hash > > Our current scheme for naming packfiles is to calculate the > sha1 hash of the sorted list of objects contained in the > packfile. This gives us a unique name, so we are reasonably > sure that two packs with the same name will contain the same > objects. Yay-by: Shawn Pearce > --- > pack-write.c | 8 +------- > pack.h | 2 +- > t/t5302-pack-index.sh | 4 ++-- > 3 files changed, 4 insertions(+), 10 deletions(-) Obviously this is correct given the diffstat. :-)