mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Indexes are only needed when we are about preparing to commit. Prime them inside commit() when we have all the info we need, and remove all the redundant index setups. While we are at it, make sure that index handling is correct when opening new branches, and on initial import. Signed-off-by: Martin Langhoff <martin@catalyst.net.nz> Signed-off-by: Junio C Hamano <junkio@cox.net>
23 KiB
Executable File
23 KiB
Executable File