Subject: undocumented core.sharedRepository=2 set by git init --shared=world

From: Joey Hess <[email-masked]>
Date: Mon, 6 Jul 2015 15:25:47 -0400

joey@darkstar:~/tmp>git init --shared=world testrepo
Initialized empty shared Git repository in /home/joey/tmp/testrepo/.git/
joey@darkstar:~/tmp>grep shared testrepo/.git/config 
	sharedrepository = 2

This magic value of 2 seems to be undocumented, as is the magic value of 1
that's equvilant to "group".

I think it would be better to have git init put in "world" or "group" and not
these magic values. Anyway, I suppose they ought to be documented too.

-- 
see shy jo