sshaw / git-link

Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
399 stars 74 forks source link

Error Message When Attempting to Link to a File That's Not Part of the Repo #14

Closed sshaw closed 3 months ago

sshaw commented 9 years ago

I think this was intended to do the check, but for a file that exists in a repo that is not part of the repo, branch is "" and commit is a SHA, resulting in a link with a missing path segment:

https://github.com/sshaw/git-link/tree//xxx#L1
sshaw commented 3 months ago

127 fixed this so closing