From a5e3194e5976fc0f1fc3fa5b36ab994c683adda8 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Fri, 8 May 2015 14:13:50 -0400 Subject: [PATCH] Add post-rewrite hook Closes #23. --- install.go | 1 + 1 file changed, 1 insertion(+) diff --git a/install.go b/install.go index 348c902..f2bb7ad 100644 --- a/install.go +++ b/install.go @@ -38,6 +38,7 @@ var vcsHooks = map[*vcsCmd][]hook{ vcsGit: { {filepath.Join(".git", "hooks", "post-merge"), gitHook, "pull"}, {filepath.Join(".git", "hooks", "post-checkout"), gitHook, "pull[[:space:]]+--rebase"}, + {filepath.Join(".git", "hooks", "post-rewrite"), gitHook, "rebase"}, }, }