Re: [PATCH 07/12] t4150: am with applypatch-msg hook

2015-07-06 Thread Junio C Hamano
Paul Tan pyoka...@gmail.com writes: +test_expect_success 'am with applypatch-msg hook' ' + test_when_finished rm -f .git/hooks/applypatch-msg + rm -fr .git/rebase-apply + git reset --hard + git checkout first + mkdir -p .git/hooks + cat

[PATCH 07/12] t4150: am with applypatch-msg hook

2015-07-02 Thread Paul Tan
Since d1c5f2a (Add git-am, applymbox replacement., 2005-10-07), git-am will invoke the applypatch-msg hooks just after extracting the patch message. If the applypatch-msg hook exits with a non-zero status, git-am abort before even applying the patch to the index. Add tests for this hook. Cc: