Skip to content

What do you think of specifying a branch? #8

@samguyjones

Description

@samguyjones

This is really handy, but sometimes when I use this, I want to use a branch that I'm not on. I might be working on a specific branch that isn't pushed. If I run this as is, I get a link that'll give anyone a 404. I want to be able to stay on my own dirty branch and jump to a file I'm not touching and generate link to the repo, file and line on the main branch.

This shouldn't be the default behavior, but it's an edge case I'd like it to support. I could raise a PR to do this, but I'm not sure if you have any interest at all in having this in the plugin, so I thought I'd check first.

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