[PATCH 0/2] sequencer: run 'prepare-commit-msg' hook
- From
- Phillip Wood <phillip.wood@talktalk.net>
- Date
- Jan 19, 2018, 14:19 UTC
- Message-ID
- <20180119141940.5421-1-phillip.wood@talktalk.net>
- In-Reply-To
- <CAKdAkRSuNhEri+3eUbX8iVjr0JUyADSJBtgL==VjNwgKwe3Xqw@mail.gmail.com>
From: Phillip Wood <phillip.wood@dunelm.org.uk>
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