From: Matthieu Moy Date: Tue, 05 Oct 2010 11:38:59 GMT Subject: Re: large files and low memory Message-ID: In-Reply-To: Alex Riesen writes: > On Tue, Oct 5, 2010 at 10:17, Enrico Weigelt wrote: >> * Matthieu Moy 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/