summaryrefslogtreecommitdiffstats
path: root/hooks/post-commit
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-commit')
-rwxr-xr-xhooks/post-commit5
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/post-commit b/hooks/post-commit
new file mode 100755
index 000000000..a1d41c712
--- /dev/null
+++ b/hooks/post-commit
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ -x ./packaging/update-tags ]
+then
+ exec git diff HEAD^ | ./packaging/update-tags -
+fi