mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
"git commit" used to discard the index and re-read from the filesystem just in case the pre-commit hook has updated it in the middle; this has been optimized out when we know we do not run the pre-commit hook. * kw/commit-keep-index-when-pre-commit-is-not-run: commit: skip discarding the index if there is no pre-commit hook
53 KiB
53 KiB