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