Re: git init shared=group with a subdir

2012-11-14 Thread Junio C Hamano
pete...@bigfoot.com writes: > $ ls -ld subdir > ls: cannot access subdir: No such file or directory > $ git init --bare --shared=group subdir/test.git > Initialized empty shared Git repository in /tmp/subdir/test.git/ > $ ls -ld subdir subdir/test.git > drwxr-xr-x 3 pete users 4096 201

git init shared=group with a subdir

2012-11-14 Thread petesea
I believe there may be a bug when initializing a new repository relating to the directory permissions when the --shared=group option is used and the repository is within a sub-directory. The following will create the "test.git" directory with 2775 permissions (which is as expected): $ ls -