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

Override capability.DefaultAgent #529

Closed
iamseth opened this issue May 9, 2022 · 1 comment
Closed

Override capability.DefaultAgent #529

iamseth opened this issue May 9, 2022 · 1 comment

Comments

@iamseth
Copy link

iamseth commented May 9, 2022

I'm trying to find a way to override the default agent set here.

When using the Git binary, I'm able to set the environment variable GIT_USER_AGENT. So far as I can tell from the code, this does not seem possible today. My questions are...

  1. Am I correct in believing that this cannot be changed today?
  2. If yes, and our team put together a PR to add this feature, would the project be amenable to this change?
stewing added a commit to stewing/go-git that referenced this issue May 21, 2022
@iamseth
Copy link
Author

iamseth commented Sep 22, 2022

Thank you @stewing

rohankmr414 pushed a commit to rohankmr414/go-git that referenced this issue Oct 12, 2022
gibchikafa pushed a commit to gibchikafa/go-git that referenced this issue Nov 23, 2022
durandj pushed a commit to durandj/go-git that referenced this issue Jul 1, 2023
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

No branches or pull requests

1 participant