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 test_expect_success
'update-server-info honors core.sharedRepository' '
23 git update-server-info &&
24 test 444 = $(stat -c %a .git/info/refs)