]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/update-index.c
update-index: new options to enable/disable split index mode
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 13 Jun 2014 12:19:44 +0000 (19:19 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jun 2014 18:49:41 +0000 (11:49 -0700)
commitc18b80a0e86c4529146e3947454159627f1419a7
treeaad268bd7feaf75d694b902deb139e3aaf77da2e
parentb3c96fb158f05152336f167076f5d81d23c3a5e5
update-index: new options to enable/disable split index mode

If you have a large work tree but only make changes in a subset, then
$GIT_DIR/index's size should be stable after a while. If you change
branches that touch something else, $GIT_DIR/index's size may grow
large that it becomes as slow as the unified index. Do --split-index
again occasionally to force all changes back to the shared index and
keep $GIT_DIR/index small.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-update-index.txt
builtin/update-index.c
cache.h
read-cache.c
split-index.c