]> gitweb.fluxo.info Git - cache.git/commitdiff
Post update hook
authorCache Saravento <cache@sarava.org>
Fri, 7 Aug 2015 16:34:21 +0000 (13:34 -0300)
committerCache Saravento <cache@sarava.org>
Fri, 7 Aug 2015 16:34:21 +0000 (13:34 -0300)
bin/post-update [new file with mode: 0755]

diff --git a/bin/post-update b/bin/post-update
new file mode 100755 (executable)
index 0000000..3098dab
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ..
+unset GIT_DIR
+git annex sync
+
+cd -
+exec git update-server-info