diff options
author | Charlie <root@dev.ws.local> | 2009-10-28 13:58:26 -0600 |
---|---|---|
committer | Charlie <root@dev.ws.local> | 2009-10-28 13:58:26 -0600 |
commit | 783ff95ab8c2ccc42901200bdc25a426377a3886 (patch) | |
tree | e8033f0c520377e45ff6e0b426ac7207a821e873 /install-repos | |
parent | 4a46bf92e6306458ed0cfc375c71618c648ac85a (diff) |
Add policy checks
Diffstat (limited to 'install-repos')
-rwxr-xr-x | install-repos | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install-repos b/install-repos index ae10f44..82518f2 100755 --- a/install-repos +++ b/install-repos @@ -16,6 +16,7 @@ for hook in $HOOKS; do find . -type d -print0 | xargs -0 chmod 770 ln -sf $BASE/$hook hooks/$hook git config core.sharedRepository=0660 || true + git config receive.denyNonFastforwards=true || true touch git-daemon-export-ok fi done |