Merge branch 'dt/smart-http-detect-server-going-away' into maint
[gitweb.git] / t / t0001-init.sh
index 488564b311e9eca45a96f1d5fd5a59b5a5666f4b..b8fc588b1922760ade8502fda3dc465f6ebf2887 100755 (executable)
@@ -400,9 +400,11 @@ test_expect_success 're-init from a linked worktree' '
                test_commit first &&
                git worktree add ../linked-worktree &&
                mv .git/info/exclude expected-exclude &&
+               cp .git/config expected-config &&
                find .git/worktrees -print | sort >expected &&
                git -C ../linked-worktree init &&
                test_cmp expected-exclude .git/info/exclude &&
+               test_cmp expected-config .git/config &&
                find .git/worktrees -print | sort >actual &&
                test_cmp expected actual
        )