Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect GIT_COMMITTER environment variables #81

Merged
merged 1 commit into from
Jul 25, 2020
Merged

Respect GIT_COMMITTER environment variables #81

merged 1 commit into from
Jul 25, 2020

Conversation

c-w
Copy link
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