summaryrefslogtreecommitdiff
path: root/.git_template/hooks/post-rewrite
diff options
context:
space:
mode:
Diffstat (limited to '.git_template/hooks/post-rewrite')
-rwxr-xr-x.git_template/hooks/post-rewrite4
1 files changed, 4 insertions, 0 deletions
diff --git a/.git_template/hooks/post-rewrite b/.git_template/hooks/post-rewrite
new file mode 100755
index 0000000..fe8972d
--- /dev/null
+++ b/.git_template/hooks/post-rewrite
@@ -0,0 +1,4 @@
+#!/bin/sh
+case "$1" in
+ rebase) exec .git/hooks/post-merge ;;
+esac