mirror-shell needs to honor REPO_UMASK
This commit is contained in:
parent
91f1b74503
commit
112f6fab57
|
@ -4,6 +4,9 @@ export GL_BYPASS_UPDATE_HOOK
|
|||
GL_BYPASS_UPDATE_HOOK=1
|
||||
|
||||
export REPO_BASE=`cd $HOME;perl -e 'do ".gitolite.rc"; print $REPO_BASE' `
|
||||
export REPO_UMASK=`cd $HOME;perl -e 'do ".gitolite.rc"; print $REPO_UMASK' `
|
||||
umask $REPO_UMASK
|
||||
|
||||
if echo $SSH_ORIGINAL_COMMAND | egrep git-upload\|git-receive >/dev/null
|
||||
then
|
||||
|
||||
|
|
Loading…
Reference in a new issue