Re: 'git add' corrupts repository if the working directory is modified as it runs
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Feb 13, 2010, 22:09 UTC
- Message-ID
- <37fcd2781002131409r4166e496h9d12d961a2330914@mail.gmail.com>
- In-Reply-To
- <20100213162924.GA14623@Knoppix>
On Sat, Feb 13, 2010 at 7:29 PM, Ilari Liusvaara <ilari.liusvaara@elisanet.fi> wrote:
> > Hmm... One needs to copy the data block at time into temporary buffer > and use that for feeding zlib and SHA-1. That ensures that whatever > SHA-1 hashes and zlib compresses are consistent.
If you want this then just compile Git with NO_MMAP = YesPlease It should solve the described problem.
Dmitry