builtin-commit: run commit-msg hook with correct message file
commite06ad5ffb9f8d4207d676fadd675cf1b949ce358
authorJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2007 20:21:17 +0000 (18 12:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:04 +0000 (22 17:05 -0800)
tree411adceae9edb72518d2344eddcf450305f64bf6
parentbc5d248a9fba11cb78dd0a3a91938d881dec1245
builtin-commit: run commit-msg hook with correct message file

It should run with $GIT_DIR/COMMIT_EDITMSG, not just COMMIT_EDITMSG.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c