Skip to content

Support ssh:// prefix in remote origin url #19

Description

@hipposhawnamus

The extension currently generates urls for me like this:

null/blob/9cf4be06c6d076b2a5b2a0c029001ae93ffdc2a2/foo/bar/baz.js#L60

I ran git config --get remote.origin.url to see what value was there and it's ssh://git@github.com/org/repo.git. However, when looking at the source code, it seems that it does not expect this ssh:// prefix:

if (url.startsWith('git@github.com:')) {

If this is the issue, it seems like it should be a pretty easy fix. I can try to figure out how to test the change if a PR would be welcomed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions