Merge branch 'jk/commit-author-parsing'
commit9ff700ebacffc8fb8cf80daabfb6503cb24dca0b
authorJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2014 18:38:33 +0000 (19 11:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2014 18:38:33 +0000 (19 11:38 -0700)
tree63213092f97a3522450c6cbea407b80c37f6c3ca
parentceeacc501bc64dcdff180a9250bf2fcea3582837
parentf4ef51739343f80c7cb0467244925b3725d65730
Merge branch 'jk/commit-author-parsing'

Code clean-up.

* jk/commit-author-parsing:
  determine_author_info(): copy getenv output
  determine_author_info(): reuse parsing functions
  date: use strbufs in date-formatting functions
  record_author_date(): use find_commit_header()
  record_author_date(): fix memory leak on malformed commit
  commit: provide a function to find a header in a buffer
builtin/commit.c
cache.h
commit.h
date.c
fast-import.c
ident.c
pretty.c