Skip to content

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

Merged
pks-t merged 1 commit into
libgit2:masterfrom
tiennou:fix/cleanup-remote
Sep 7, 2018
Merged

remote: store the connection data in a private struct#4785
pks-t merged 1 commit into
libgit2:masterfrom
tiennou:fix/cleanup-remote

Conversation

@tiennou

@tiennou tiennou commented Aug 26, 2018

Copy link
Copy Markdown
Contributor

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.

Comment thread src/remote.c Outdated
Comment thread src/remote.c Outdated
@tiennou tiennou force-pushed the fix/cleanup-remote branch from 45b178b to c7e3bdd Compare August 31, 2018 12:21
Comment thread src/remote.h Outdated
@pks-t

pks-t commented Sep 7, 2018

Copy link
Copy Markdown
Member

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

tiennou commented Sep 7, 2018

Copy link
Copy Markdown
Contributor Author

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

@pks-t

pks-t commented Sep 7, 2018

Copy link
Copy Markdown
Member

/rebuild

@libgit2-azure-pipelines

Copy link
Copy Markdown

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

pks-t commented Sep 7, 2018

Copy link
Copy Markdown
Member

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.

2 participants