Skip to content

Commit

Permalink
Add post-rewrite hook
Browse files Browse the repository at this point in the history
Closes #23.
  • Loading branch information
tamird committed May 8, 2015
1 parent 81d4ac6 commit a5e3194
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
}

Expand Down

0 comments on commit a5e3194

Please sign in to comment.