You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/sshaw/git-link/blob/master/git-link.el#L457
For sourcehut (git.sr.ht) used the same function as for github, but it generates a link using https://%s/%s/blob/%s/%s pattern, while for sourcehut it should be https://%s/%s/tree/%s/%s, because /blob/ provides access to raw file, while /tree/ has ability to show exact part of the code using fragment part of address.
https://github.com/sshaw/git-link/blob/master/git-link.el#L457
For sourcehut (git.sr.ht) used the same function as for github, but it generates a link using
https://%s/%s/blob/%s/%s
pattern, while for sourcehut it should behttps://%s/%s/tree/%s/%s
, because/blob/
provides access to raw file, while/tree/
has ability to show exact part of the code using fragment part of address.As it is right now:
https://git.sr.ht/~abcdw/rde/blob/master/rde/system/install.scm#L50
As it should be:
https://git.sr.ht/~abcdw/rde/tree/master/rde/system/install.scm#L50
The text was updated successfully, but these errors were encountered: