diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2015-02-23 13:49:24 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-02-24 16:39:19 +0100 |
commit | a8fd029a931f35db9f98e4f75530f299a70892eb (patch) | |
tree | 6b322847a5159e3a6b3f9a366322ab4b446ea49f /CONTRIBUTING.md | |
parent | a8743df19c2574bc3481fa5f811499b5960951a8 (diff) | |
download | jgit-a8fd029a931f35db9f98e4f75530f299a70892eb.tar.gz jgit-a8fd029a931f35db9f98e4f75530f299a70892eb.zip |
Read user.name and email from environment first
According to [1] user name and email are taken first from the
environment variables:
GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL
GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL
In case (some of) these environment variables are not set, the
information is taken from the git configuration.
JGit doesn not yet support the environment variables GIT_AUTHOR_DATE and
GIT_COMMITTER_DATE.
[1] https://www.kernel.org/pub/software/scm/git/docs/git-commit-tree.html#_commit_information
Bug: 460586
Change-Id: I3ba582b4ae13674cf319652b5b13ebcbb96dd8ec
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions