diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-11 17:48:48 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-11 17:56:26 +0200 |
commit | a0f3060f234418993aaeee0962cfdbd25f37b940 (patch) | |
tree | 9ec240c441cb1b108be5966282480d87179f832d /web/lib/streams.php | |
parent | e254a3154463b5705367c925c4edb5a094506e45 (diff) | |
download | aurweb-a0f3060f234418993aaeee0962cfdbd25f37b940.tar.xz |
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 <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/streams.php')
0 files changed, 0 insertions, 0 deletions