]> git.ipfire.org Git - thirdparty/git.git/commit - mailinfo.c
mailinfo: separate in-body header processing
authorJonathan Tan <jonathantanmy@google.com>
Mon, 19 Sep 2016 21:08:50 +0000 (14:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Sep 2016 21:40:32 +0000 (14:40 -0700)
commit334192b411312c1ffab01af346d2d64d23597d84
treec1c15f2580c2cb31a6217a3d8b45390ecb4bda9d
parentf6727b0509ec3417a5183ba6e658143275a734f5
mailinfo: separate in-body header processing

The check_header function contains logic specific to in-body headers,
although it is invoked during both the processing of actual headers and
in-body headers. Separate out the in-body header part into its own
function.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mailinfo.c