read-cache: add index.version config variable
commit3c09d6845d253f9d8a75f3a36278c69e01b073e9
authorThomas Gummerer <t.gummerer@gmail.com>
Sun, 23 Feb 2014 20:49:59 +0000 (23 21:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 21:33:17 +0000 (24 13:33 -0800)
tree3791637a413e81432101ab613f352edd9e57f221
parent5d9fc888b485caa1b6a95f2cb583dc26ab7e8d13
read-cache: add index.version config variable

Add a config variable that allows setting the default index version when
initializing a new index file.  Similar to the GIT_INDEX_VERSION
environment variable this only affects new index files.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
read-cache.c
t/t1600-index.sh