Re: large files and low memory
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Oct 5, 2010, 10:13 UTC
- Message-ID
- <AANLkTimHKyQhAzuh4Hsh7=bEet1T0mNRSMgiZkhWQwSN@mail.gmail.com>
- In-Reply-To
- <20101005074144.GA22564@nibiru.local>
On Tue, Oct 5, 2010 at 2:41 PM, Enrico Weigelt <weigelt@metux.de> wrote:
Show 7 quoted lines
> * Enrico Weigelt <weigelt@metux.de> wrote: > > <snip> > > Found another possible bottleneck: git-commit seems to scan through > a lot of files. Shouldnt it just create a commit object from the > current index and update the head ?
You mean a lot of stat()? There is no way to avoid that unless you set assume-unchanged bits. Or you could use write-tree/commit-tree/update-ref directly.
-- Duy