Re: large files and low memory
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Oct 5, 2010, 11:38 UTC
- Message-ID
- <vpqbp78x418.fsf@bauges.imag.fr>
- In-Reply-To
- <AANLkTin+i7VZApDRmairgpMth4MzPoDF=oHt-UHCt98E@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 11 quoted lines
> On Tue, Oct 5, 2010 at 10:17, Enrico Weigelt <weigelt@metux.de> wrote: >> * Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote: >> >>> git commit will show what's being commited (the output of "git commit >>> --dry-run") in your editor, hence it needs to compute that. >> >> hmm, is there any way to get around this ? >> > > Try "git commit -q -uno". This should skip creation of summary in the > commit message and lookup for untracked files.
To avoid including the summary, the option would be --no-status (-q makes commit less verbose in stdout, not in COMMIT_EDITMSG).
But
strace -fe lstat64 git commit -uno --no-status -q
still shows lstat64 for each tracked file in my working tree (even when using -m to avoid launching the editor). I don't know if this is intended, or just that nobody cared enough to optimize this.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/