Code

Merge branch 'jc/commit-hook-authorship'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2012 05:51:01 +0000 (22:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2012 05:51:01 +0000 (22:51 -0700)
commit9eefd8ae8a955f470d931c13b8711d98f4e9d56e
tree315cbb6448f101dd9ceb9c0c7f92077a08c6071b
parent47de6b0425c79081e64756dcc019bb26344bf7ad
parent7dfe8ad6006c105989e4e8cfb196aa4ecda3c21d
Merge branch 'jc/commit-hook-authorship'

"git commit --author=$name" did not tell the name that was being recorded
in the resulting commit to hooks, even though it does do so when the end
user overrode the authorship via the "GIT_AUTHOR_NAME" environment
variable.

* jc/commit-hook-authorship:
  commit: pass author/committer info to hooks
  t7503: does pre-commit-hook learn authorship?
  ident.c: add split_ident_line() to parse formatted ident line
builtin/commit.c
cache.h