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

remote: store the connection data in a private struct #4785

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

tiennou
Copy link
Contributor

@tiennou tiennou commented Aug 26, 2018

This makes it easier to pass connection-related options around (proxy & custom headers for now).

This fixes a bug in git_push_finish, which didn't reuse the provided proxy if the connection closed between the call to git_remote_push and the finish step.

src/remote.c Outdated Show resolved Hide resolved
src/remote.c Outdated Show resolved Hide resolved
src/remote.h Outdated Show resolved Hide resolved
@pks-t
Copy link
Member

pks-t commented Sep 7, 2018

I'm good with this PR despite the one naming issue I have right now.

This makes it easier to pass connection-related options around (proxy &
custom headers for now).

This fixes a bug in git_push_finish, which didn't reuse the provided
proxy if the connection closed between the call to `git_remote_push` and
the finish step.
@tiennou
Copy link
Contributor Author

tiennou commented Sep 7, 2018

I've updated the naming (good catch) and rebased on top of master. Thanks for the review @pks-t !

@pks-t
Copy link
Member

pks-t commented Sep 7, 2018

/rebuild

@libgit2-azure-pipelines
Copy link

Okay, @pks-t, I started to rebuild this pull request.

@pks-t pks-t merged commit 55d354d into libgit2:master Sep 7, 2018
@pks-t
Copy link
Member

pks-t commented Sep 7, 2018

Thank you, @tiennou!

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.

None yet

2 participants