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

git: Allow supplying a custom transport when performing various operations #379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cynix
Copy link

@cynix cynix commented Sep 25, 2021

Currently, custom transports are registered by protocol name, therefore it is cumbersome to use different transports for different remotes if they have the same protocol. This PR makes that easier by introducing an optional transport field in the option structs of various operations.

@noerw
Copy link
Contributor

noerw commented Sep 28, 2021

Do I understand correctly, that this would also allow to selectively operate on https or ssh, the same way as #375 does?
In that case you provided a more generic solution, and we could close #375 in favor of this.

@github-actions github-actions bot added the stale Issues/PRs that are marked for closure due to inactivity label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues/PRs that are marked for closure due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants