summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Gummerer <t.gummerer@gmail.com>2014-02-23 21:49:59 +0100
committerJunio C Hamano <gitster@pobox.com>2014-02-24 13:33:17 -0800
commit3c09d6845d253f9d8a75f3a36278c69e01b073e9 (patch)
tree3791637a413e81432101ab613f352edd9e57f221 /Documentation
parent5d9fc888b485caa1b6a95f2cb583dc26ab7e8d13 (diff)
downloadgit-3c09d6845d253f9d8a75f3a36278c69e01b073e9.tar.gz
read-cache: add index.version config variabletg/index-v4-format
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 5f4d7939ed..98200aaba2 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1601,6 +1601,10 @@ imap::
The configuration variables in the 'imap' section are described
in linkgit:git-imap-send[1].
+index.version::
+ Specify the version with which new index files should be
+ initialized. This does not affect existing repositories.
+
init.templatedir::
Specify the directory from which templates will be copied.
(See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)