]> git.ipfire.org Git - thirdparty/git.git/commit - t/t2104-update-index-skip-worktree.sh
test-lib-functions: move test_set_index_version() to its user
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 9 Feb 2021 21:41:50 +0000 (22:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2021 21:54:34 +0000 (13:54 -0800)
commit762ccf9906a946b4ba6d9a1b97b6a6b465f02ac3
treed2fb8f225bdb8a378acdd601924a8cbd6a93e649
parent9e9c7dd6f13e9a5027538854132b9f6b6ddb6be2
test-lib-functions: move test_set_index_version() to its user

Move the test_set_index_version() function to its only user. This
function has only been used in one place since its addition in
5d9fc888b48 (test-lib: allow setting the index format version,
2014-02-23). Let's have that test script define it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2104-update-index-skip-worktree.sh
t/test-lib-functions.sh