Code

Prefer EMAIL to username@hostname.
authorMatt Kraai <kraai@ftbfs.org>
Fri, 6 Jul 2007 00:29:41 +0000 (17:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Jul 2007 06:22:12 +0000 (23:22 -0700)
commit46f74f007b86452c4b4135f5145f94eefc994ea2
tree0302c7ff8cbc976de6191a2dbf60b15731678794
parent20ccef49689b3f4dc7510c63d9867e1969eed1e3
Prefer EMAIL to username@hostname.

The environment variable $EMAIL gives a better default of user's
preferred e-mail address than the hardcoded "username@hostname",
as it is understood by many existing programs.

We still honor GIT_*_EMAIL environment variables and user.email
configuration variable give them higher precedence, so that the
user can override $EMAIL or "username@hostname", as they are
likely to be more specific to the context of working on a
particular project.

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ident.c