diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:26:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:26:50 -0700 |
commit | 13b49f1e7463c46272c0b3b9b1952dc519086b6d (patch) | |
tree | 3d0f6d4dcf53afc524eac847f4a12204d134cbe3 /t/test-lib-functions.sh | |
parent | 0963008cbf266db8001521c87084cea353005020 (diff) | |
parent | 3c09d6845d253f9d8a75f3a36278c69e01b073e9 (diff) | |
download | git-13b49f1e7463c46272c0b3b9b1952dc519086b6d.tar.gz |
Merge branch 'tg/index-v4-format'
* tg/index-v4-format:
read-cache: add index.version config variable
test-lib: allow setting the index format version
introduce GIT_INDEX_VERSION environment variable
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r-- | t/test-lib-functions.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index b333e3ff86..158e10a67e 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -32,6 +32,11 @@ test_set_editor () { export EDITOR } +test_set_index_version () { + GIT_INDEX_VERSION="$1" + export GIT_INDEX_VERSION +} + test_decode_color () { awk ' function name(n) { |