-
Notifications
You must be signed in to change notification settings - Fork 891
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
Add CustomHeaders to PushOptions #2052
Conversation
Any chance this could be merged? I'm currently maintaining a custom fork with this but this would allow me to delete it. |
I would love to merge it, but it doesn't seem like the maintainers are very active unfortunately. |
I also need this :). How can we get it in? |
@bording are you going to merge this change soon? |
I need this aswell |
@James-LG Go ahead and take out the devcontainer stuff, and then I'll give this a review and get it merged and released this weekend. |
Wires up CustomHeaders in PushOptions in the same vain as FetchOptions.
Thanks! Devcontainers removed. |
This has been released in LibGit2Sharp 0.28.0. |
That is awesome @bording. Thanks for taking the time to merge this |
Wires up CustomHeaders in PushOptions in the same vein as FetchOptions.
Libgit2 already supports CustomerHeaders on PushOptions, so might as well hook it up. Plus it's required for some git servers that require strange PAT token formats like Azure DevOps #2041.
This PR is similar to #2011 except it properly disposes the managed string array and it has some tests.