From: Phillip Wood <phillip.wood@xxxxxxxxxxxxx> I've updated the patches in response to comments, there are just a couple of small changes. Thanks to Ramsay and Eric for their reviews. Best Wishes Phillip Original cover letter: These two patches add some tests and fix the sequencer to run the 'prepare-commit-msg' hook when committing without forking 'git commit' Phillip Wood (2): t7505: Add tests for cherry-pick and rebase -i/-p sequencer: run 'prepare-commit-msg' hook builtin/commit.c | 2 - sequencer.c | 69 ++++++++++++++++---- sequencer.h | 1 + t/t7505-prepare-commit-msg-hook.sh | 127 +++++++++++++++++++++++++++++++++++-- t/t7505/expected-rebase-i | 17 +++++ t/t7505/expected-rebase-p | 18 ++++++ 6 files changed, 215 insertions(+), 19 deletions(-) create mode 100644 t/t7505/expected-rebase-i create mode 100644 t/t7505/expected-rebase-p -- 2.15.1