stg mail: factor out __update_header
authorAlex Chiang <achiang@hp.com>
Fri, 5 Feb 2010 13:44:57 +0000 (13:44 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 5 Feb 2010 13:44:57 +0000 (13:44 +0000)
commitc28b8841b551c763abd475ce38f9ca525e29d81b
treeed7e92f06d417af1844e04713ee752abfad32f57
parent9cb369d43b604b8ac24d8aaf23025da531cca473
stg mail: factor out __update_header

Factor __update_header out of __build_address_headers.

Headers like Reply-To, Mail-Reply-To, and Mail-Followup-To are now
handled in __build_extra_headers.

We make this change because in the future, we do not want to call
__build_address_headers if using git send-email but we will always
want to call __build_extra_headers.

Cc: Karl Wiberg <kha@treskal.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/mail.py