From a0f3060f234418993aaeee0962cfdbd25f37b940 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 11 Jun 2015 17:48:48 +0200 Subject: git-update: Deny non-fast-forwards To make sure we never lose any history, non-fast-forwards are forbidden. Instead of relying on receive.denyNonFastForwards, add a simple check to the update hook. This has the added benefit of more flexibility. Signed-off-by: Lukas Fleischer --- INSTALL | 1 - 1 file changed, 1 deletion(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 50405df..a2a6153 100644 --- a/INSTALL +++ b/INSTALL @@ -29,7 +29,6 @@ Setup on Arch Linux # cd /srv/http/aurweb/aur.git/ # git init --bare # ln -s ../../git-interface/git-update.py hooks/update - # git config --local receive.denyNonFastForwards true # chown -R aur . 7) Install the git-auth wrapper script: -- cgit v1.2.3-54-g00ecf