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