Skip to content

Add another set of GIT_{AUTHOR,COMMITTER}_{NAME,EMAIL} with lower priorities #234

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

Open
dscho opened this issue May 29, 2019 · 2 comments
Open
Labels
leftoverbits From the Git mailing list: https://lore.kernel.org/git/?q=%23leftoverbits

Comments

@dscho
Copy link
Member

dscho commented May 29, 2019

It would be nice if git supported a way to do override the fallback when neither the config nor the current environment variables specify the author/committer name.

Copy-munged from: https://public-inbox.org/git/[email protected]/

@dscho dscho added the leftoverbits From the Git mailing list: https://lore.kernel.org/git/?q=%23leftoverbits label May 29, 2019
@webstech
Copy link

webstech commented Aug 8, 2019

Looking at implementing in fmt_ident in ident.c. Are env vars GIT_{AUTHOR,COMMITTER}_{NAME,EMAIL}_DEFAULT acceptable?

Seems like the doc change could be bigger than the code change.

Suggestions on where to add test cases would be appreciated.

@dscho
Copy link
Member Author

dscho commented Aug 24, 2019

Looking at implementing in fmt_ident in ident.c. Are env vars GIT_{AUTHOR,COMMITTER}_{NAME,EMAIL}_DEFAULT acceptable?

That would be a good question to ask in reply to https://public-inbox.org/git/[email protected]/ (see instructions how to reply on the bottom of that page, or our wiki page).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
leftoverbits From the Git mailing list: https://lore.kernel.org/git/?q=%23leftoverbits
Projects
None yet
Development

No branches or pull requests

2 participants