Closed blaenk closed 1 year ago
Thank you for working on this extension!
Instead of only removing ssh:// or git://, remove any scheme.
ssh://
git://
In my setup I use a fake scheme that is then intercepted by a custom git remote transport helper for a self-hosted GitLab instance.
Without this change, the custom scheme e.g. xy:// shows up in the resulting URL as xy/. See the issue below that this fixes.
xy://
xy/
The URL deduction is otherwise perfect.
Fixes https://github.com/ben-gibson/GitLink/issues/294
Looks good, I’ll look at merging / releasing this over the weekend
Thank you for working on this extension!
Instead of only removing
ssh://
orgit://
, remove any scheme.In my setup I use a fake scheme that is then intercepted by a custom git remote transport helper for a self-hosted GitLab instance.
Without this change, the custom scheme e.g.
xy://
shows up in the resulting URL asxy/
. See the issue below that this fixes.The URL deduction is otherwise perfect.
Fixes https://github.com/ben-gibson/GitLink/issues/294