Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes: > That said, I just noticed something nasty: "git add ." is *horrible*. It > does the full SHA1 re-computation even though the index is up-to-date. > That's really nasty. > > So right now, due to this performance bug, it's actually much better to do > something more complex, namely something like > > git ls-files -o | git update-index --add --stdin > git commit -a > > which is a lot more efficient than just doing "git add .". > > Junio? I _thought_ we already took the index into account with "git add", > but we obviously don't. I do not know offhand. By the way, the above "something more complex" may be a simple "git add -u". - 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