Merge branch 'jc/commit-hook-authorship' into next
commit05ca7f8c15bf509074da5588a05184449745e463
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 Mar 2012 23:16:51 +0000 (12 16:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Mar 2012 23:16:51 +0000 (12 16:16 -0700)
treeb9a159146caa2766ac4fb30ddf3fd8cf2aec6d80
parent42aaabe0cf21e8deae58f8819fa6a0c99e9d6506
parent7dfe8ad6006c105989e4e8cfb196aa4ecda3c21d
Merge branch 'jc/commit-hook-authorship' into next

"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.

By Junio C Hamano
* 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