summaryrefslogtreecommitdiff
path: root/repo/hooks/update
diff options
context:
space:
mode:
Diffstat (limited to 'repo/hooks/update')
-rwxr-xr-xrepo/hooks/update6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/hooks/update b/repo/hooks/update
index 18dd93d5..6bb4b23d 100755
--- a/repo/hooks/update
+++ b/repo/hooks/update
@@ -3,7 +3,7 @@
# An example hook script to blocks unannotated tags from entering.
# Called by git-receive-pack with arguments: refname sha1-old sha1-new
#
-# To enable this hook, rename this file to "update".
+# Has some local cusomizations at the end.
#
# Config
# ------
@@ -132,6 +132,10 @@ case "$refname","$newrev_type" in
;;
esac
+#
+# Local customizations begin here.
+#
+
/gitroot/gpsd/hooks/ciabot.py ${refname} $(git rev-list ${oldrev}..${newrev} | tac)