git-init-db: initialize shared repositories with --shared
commitaf6e277c5eddbcf82582b4bbd3e50b36aa61a20a
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 22 Dec 2005 22:19:37 +0000 (22 23:19 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 24 Dec 2005 08:21:10 +0000 (24 00:21 -0800)
treec4229cadf91082470d3ec9d6532ec94b940ddb1a
parent457f06d68e427bbf4f1a921877441a622a05e5c4
git-init-db: initialize shared repositories with --shared

Now you can say

git-init-db --shared

if you want other users to be able to push into that repository.

[jc: info/ and objects/info/ need to be group writable if the
 repository is shared --- otherwise packs and refs files cannot
 be updated.]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
init-db.c