summaryrefslogtreecommitdiff
path: root/git_template/hooks/post-rewrite
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
commit3446f5387389b0e1671481c8a8fb9ea0eed519f6 (patch)
tree543bde435847c700507c3b229460b446f4a09028 /git_template/hooks/post-rewrite
parentc9f80e43f431d89bbccd1ecc68c7b48fb8c01dd4 (diff)
Remove . from dotfiles for convenience
Diffstat (limited to 'git_template/hooks/post-rewrite')
-rwxr-xr-xgit_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