]> git.ipfire.org Git - thirdparty/git.git/commit - read-cache.c
read-cache: force split index mode with GIT_TEST_SPLIT_INDEX
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 13 Jun 2014 12:19:49 +0000 (19:19 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jun 2014 18:49:42 +0000 (11:49 -0700)
commitd6e3c181bc94e3f540c403eef0515c5eed74fc16
treefbc510d71c3bc46c74398e89a669d3599a518da1
parent5a092ceb6b285e8377add13d460850668fd0d13c
read-cache: force split index mode with GIT_TEST_SPLIT_INDEX

This could be used to run the whole test suite with split
indexes. Index splitting is carried out at random. "git read-tree"
also resets the index and forces splitting at the next update.

I had a lot of headaches with the test suite, which proves it
exercises split index pretty good.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c