format-patch: use default email for generating message ids
commit43ae9f47ab8a7762d914e91d6f57b79126986640
authorJeff King <peff@peff.net>
Mon, 21 May 2012 23:10:08 +0000 (21 19:10 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 May 2012 16:07:53 +0000 (22 09:07 -0700)
tree7a56a359641d9c083a7cf4cc138571a2fb8444a6
parent132f4b6ccb470cb209167b7806c68805ba4dc600
format-patch: use default email for generating message ids

We try to generate a sane message id for cover letters and
threading by appending some changing bits to the front of
the user's email address. The current code parses the email
out of the results of git_committer_info, but we can do this
much more easily by just calling ident_default_email
ourselves.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c