]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t2404-worktree-config.sh
Merge branch 'ea/blame-use-oideq'
[thirdparty/git.git] / t / t2404-worktree-config.sh
index 286121d8decbf8572bc6c60b1cb9524116156ef2..9536d1091954b48a87b74eead0c382ce70355c4e 100755 (executable)
@@ -23,8 +23,10 @@ test_expect_success 'config --worktree without extension' '
 '
 
 test_expect_success 'enable worktreeConfig extension' '
+       git config core.repositoryformatversion 1 &&
        git config extensions.worktreeConfig true &&
-       test_cmp_config true extensions.worktreeConfig
+       test_cmp_config true extensions.worktreeConfig &&
+       test_cmp_config 1 core.repositoryformatversion
 '
 
 test_expect_success 'config is shared as before' '