From 783ff95ab8c2ccc42901200bdc25a426377a3886 Mon Sep 17 00:00:00 2001 From: Charlie Date: Wed, 28 Oct 2009 13:58:26 -0600 Subject: Add policy checks --- install-repos | 1 + 1 file changed, 1 insertion(+) (limited to 'install-repos') 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 -- cgit v1.2.3