You are right, it is only needed when `--verbose` of `--dry-run` options are set. I can short cut this with `return 0` at the beginning of a function if none of the options are set. However if we are talking about cheaper operations, setting callback to NULL when invoking `git_index_add_all` would be even faster. What do you think?