summaryrefslogtreecommitdiff
path: root/git/.git_template/hooks/post-rewrite
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-19 15:24:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-19 15:24:25 +0100
commite146e947c52ac4adbe426b3f893faff1e46ed5f8 (patch)
tree1605bf4eb78cc619988c92632f3cee2a56143fd5 /git/.git_template/hooks/post-rewrite
parent83bd503208d45fa837348441196dd07223b13e3e (diff)
Use GNU stow for dotfiles management
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