Code

t7503: does pre-commit-hook learn authorship?
authorJunio C Hamano <gitster@pobox.com>
Sun, 11 Mar 2012 10:51:32 +0000 (03:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Mar 2012 21:06:08 +0000 (14:06 -0700)
commit04861982e553289c923b2f9ef829ef33206c9bc4
treeea9533f3430d6011fc22655ade6a74173e78cf4b
parent4b340cfab9c7a18e39bc531d6a6ffaffdf95f62d
t7503: does pre-commit-hook learn authorship?

When "--author" option is used to lie the authorship to "git commit"
command, hooks should learn the author name and email just like when
GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL environment variables are used
to lie the authorship.  Test this.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7503-pre-commit-hook.sh