git-commit-tree(1): correct description of defaults
The old phrasing indicated that the EMAIL environment variable takes precedence over the user.email configuration setting, but it is the other way around. Signed-off-by: Peter Eisentraut <peter@eisentraut.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Peter Eisentraut committed
Jan 10, 2013 at 07:29 UTC
be33414b186b3a7abbc1e37a0aa36b6b4d0d0e74
1 file changed
+2
-2
Documentation/git-commit-tree.txt
+2
-2
@@ -72,13 +72,13 @@ if set:
72
GIT_COMMITTER_NAME
73
GIT_COMMITTER_EMAIL
74
GIT_COMMITTER_DATE
75
- EMAIL
75
76
(nb "<", ">" and "\n"s are stripped)
77
78
In case (some of) these environment variables are not set, the information
79
is taken from the configuration items user.name and user.email, or, if not
81
-present, system user name and the hostname used for outgoing mail (taken
80
+present, the environment variable EMAIL, or, if that is not set,
81
+system user name and the hostname used for outgoing mail (taken
82
from `/etc/mailname` and falling back to the fully qualified hostname when
83
that file does not exist).
84