3 # Copyright (c) 2007 Johannes Schindelin
6 test_description
='Test shared repository initialization'
10 test_expect_success
'shared=all' '
13 git init --shared=all &&
14 test 2 = $(git config core.sharedrepository)
17 say
"update-server-info not supported - skipping tests"
21 test_expect_success
'update-server-info honors core.sharedRepository' '
27 git update-server-info &&
28 test 444 = $(stat -c %a .git/info/refs)