git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* undocumented core.sharedRepository=2 set by git init --shared=world
@ 2015-07-06 19:25 Joey Hess
  2015-07-07  6:44 ` Torsten Bögershausen
  2015-07-07  8:14 ` Johannes Schindelin
  0 siblings, 2 replies; 6+ messages in thread
From: Joey Hess @ 2015-07-06 19:25 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-07 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 19:25 undocumented core.sharedRepository=2 set by git init --shared=world Joey Hess
2015-07-07  6:44 ` Torsten Bögershausen
2015-07-07  8:14 ` Johannes Schindelin
2015-07-07  9:10   ` John Keeping
2015-07-07 11:32     ` Johannes Schindelin
2015-07-07 11:52       ` John Keeping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).