Skip to content

Commit be33414

Browse files
peteregitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7e20105 commit be33414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-commit-tree.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ if set:
7272
GIT_COMMITTER_NAME
7373
GIT_COMMITTER_EMAIL
7474
GIT_COMMITTER_DATE
75-
EMAIL
7675

7776
(nb "<", ">" and "\n"s are stripped)
7877

7978
In case (some of) these environment variables are not set, the information
8079
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
8282
from `/etc/mailname` and falling back to the fully qualified hostname when
8383
that file does not exist).
8484

0 commit comments

Comments
 (0)