Add tests for pre-commit and commit-msg hooks
authorWincent Colaiuta <win@wincent.com>
Sat, 8 Dec 2007 12:29:47 +0000 (13:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Dec 2007 08:55:55 +0000 (00:55 -0800)
commit264474f29a3f41124f98e955b41ebe4e36d14b53
tree67b4e863c0427b80e390212bbbd55fad0314c1d2
parent740001a5780a12972c83c99f25c49c8d8cebdb43
Add tests for pre-commit and commit-msg hooks

As desired, these pass for git-commit.sh, fail for builtin-commit (prior
to the fixes), and succeeded for builtin-commit (after the fixes).

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7501-commit.sh
t/t7503-pre-commit-hook.sh [new file with mode: 0755]
t/t7504-commit-msg-hook.sh [new file with mode: 0755]