aboutsummaryrefslogtreecommitdiff
path: root/bin/post-update
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@fluxo.info>2016-05-04 09:19:44 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@fluxo.info>2016-05-04 09:19:44 -0300
commit3176cac2ab93d83bec72ddb5d93afc8971ccc466 (patch)
treee66c73468727f30ac3d319eb9aae3efa67e67eff /bin/post-update
parent5feb18e86eb826b105f58f53d3da5fc9c71d52f5 (diff)
downloadarquivo-3176cac2ab93d83bec72ddb5d93afc8971ccc466.tar.gz
arquivo-3176cac2ab93d83bec72ddb5d93afc8971ccc466.tar.bz2
Test deployment without git reset
Diffstat (limited to 'bin/post-update')
-rwxr-xr-xbin/post-update20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/post-update b/bin/post-update
deleted file mode 100755
index 47d4f79a9e1..00000000000
--- a/bin/post-update
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-#
-# Post-receive git hook
-#
-
-cd ..
-unset GIT_DIR
-
-if [ -d ".git/annex" ]; then
- git annex sync
-else
- git config receive.denyCurrentBranch ignore
- git reset HEAD
- git checkout -f
-fi
-
-git submodule update --init --recursive
-
-cd -
-exec git update-server-info