summaryrefslogtreecommitdiff
path: root/commit.d/45bzr-precommit
diff options
context:
space:
mode:
Diffstat (limited to 'commit.d/45bzr-precommit')
-rwxr-xr-xcommit.d/45bzr-precommit6
1 files changed, 6 insertions, 0 deletions
diff --git a/commit.d/45bzr-precommit b/commit.d/45bzr-precommit
new file mode 100755
index 0000000..3128c7a
--- /dev/null
+++ b/commit.d/45bzr-precommit
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+if [ "$VCS" = bzr ] && [ -d .bzr ]; then
+ etckeeper precommit .
+fi