Alex Riesen <raa.lkml@xxxxxxxxx> writes: > On Tue, Oct 5, 2010 at 10:17, Enrico Weigelt <weigelt@xxxxxxxx> wrote: >> * Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> 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/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html