Skip to content

Respect GIT_COMMITTER environment variables#81

Merged
c-w merged 1 commit into
masterfrom
commit-environment-variables
Jul 25, 2020
Merged

Respect GIT_COMMITTER environment variables#81
c-w merged 1 commit into
masterfrom
commit-environment-variables

Conversation

@c-w
Copy link
Copy Markdown
Owner

@c-w c-w commented May 25, 2020

This commit adds support for git committing environment variables. Specifically:

  • If GIT_COMMITTER_NAME is set, use its value instead of the user.name git config value.
  • If GIT_COMMITTER_EMAIL is set, use its value instead of the user.email git config value.
  • If GIT_COMMITTER_DATE is set, use its value instead of the current timestamp.

Resolves #67

@c-w c-w merged commit 8eeb52d into c-w:master Jul 25, 2020
@c-w c-w deleted the commit-environment-variables branch July 25, 2020 00:34
@ktomk ktomk mentioned this pull request May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git author and committer environment variables are not respected

1 participant