summaryrefslogtreecommitdiffstats
path: root/git-am.sh
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-05-23 21:47:28 +0200
committerJunio C Hamano <junkio@cox.net>2006-05-23 23:04:47 +0200
commit8b4525fb3c6d79bd3a64b8f441237a4095db4e22 (patch)
tree93bd2b25f9c56999b0930e90143ff0c9dc900c16 /git-am.sh
parentMove B and Q decoding into check header. (diff)
downloadgit-8b4525fb3c6d79bd3a64b8f441237a4095db4e22.tar.xz
git-8b4525fb3c6d79bd3a64b8f441237a4095db4e22.zip
Refactor commit messge handling.
- Move handle_info into main so it is called once after everything has been parsed. This allows the removal of a static variable and removes two duplicate calls. - Move parsing of inbody headers into handle_commit. This means we parse the in-body headers after we have decoded the character set, and it removes code duplication between handle_multipart_one_part and handle_body. - Change the flag indicating that we have seen an in body prefix header into another bit in seen. This is a little more general and allows the possibility of parsing in body headers after the body message has begun. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-am.sh')
0 files changed, 0 insertions, 0 deletions