git-link icon indicating copy to clipboard operation
git-link copied to clipboard

Trailing slash quirk

Open abcdw opened this issue 2 years ago • 0 comments

In case there is a trailing slash at the end of the remote url (https://git.savannah.gnu.org/git/guix.git/), the link generated by git-link will look like:

https://git.savannah.gnu.org/cgit/guix.git/.git/tree/TODO?h=587fbb48be8ee0c76c77f14fd835e79f33752cb1#n76

instead of: https://git.savannah.gnu.org/cgit/guix.git/tree/TODO?h=587fbb48be8ee0c76c77f14fd835e79f33752cb1#n76

Using https://git.savannah.gnu.org/git/guix.git solves the problem.

Not a big deal, just to let you and maybe other people know.

abcdw avatar Jun 06 '22 11:06 abcdw