From 82103c29ca0f94f6df43e6b81fd57fa170aa985f Mon Sep 17 00:00:00 2001 From: Cache do Fluxo Date: Sun, 31 Jan 2016 22:06:40 -0200 Subject: Support post-receive hook only --- bin/post-update | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 bin/post-update (limited to 'bin/post-update') diff --git a/bin/post-update b/bin/post-update deleted file mode 100755 index 48a6a16..0000000 --- a/bin/post-update +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -cd .. -unset GIT_DIR - -if [ -d ".git/annex" ]; then - git annex sync -else - git reset HEAD - git checkout -f -fi - -git submodule update --init --recursive - -cd - -exec git update-server-info -- cgit v1.2.3