Re: Multi-threaded 'git clone'
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 16, 2015, 23:16 UTC
- Message-ID
- <CACsJy8Brnu7rBxtCq_ac58BW7dOK=wtzMxVL-gsOUXJB2Jss9w@mail.gmail.com>
- In-Reply-To
- <20150216154745.GA10120@peff.net>
On Mon, Feb 16, 2015 at 10:47 PM, Jeff King <peff@peff.net> wrote:
> Each clone generates the pack on the fly > based on what's on disk and streams it out. It should _usually_ be the > same, but there's nothing to guarantee byte-for-byte equality between > invocations.
It's usually _not_ the same. I tried when I wanted to produce stable packs. The first condition is single-threaded pack-objects. Otherwise thread scheduler could make object order unpredictable.
-- Duy