"Junio C Hamano" <jch2355@xxxxxxxxx> writes: > There probably are other things that can be optimized. Yes, I think that when the user passes --only flag to git-commit, then git does not need to call refresh_cache() in prepare_index() in builtin/commit.c. I may experiment with that. Do you see any downside or negative side-effects? Matt