]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t2104-update-index-skip-worktree.sh
test-lib-functions: move test_set_index_version() to its user
[thirdparty/git.git] / t / t2104-update-index-skip-worktree.sh
index 7e2e7dd4ae5842bc49ccaf5dc116deb3b3d6b993..30666fc70d28264d036105659871a68323ce2460 100755 (executable)
@@ -9,6 +9,11 @@ test_description='skip-worktree bit test'
 
 sane_unset GIT_TEST_SPLIT_INDEX
 
+test_set_index_version () {
+    GIT_INDEX_VERSION="$1"
+    export GIT_INDEX_VERSION
+}
+
 test_set_index_version 3
 
 cat >expect.full <<EOF