-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_cgit_type_url produces wrong URLs without project #66
Labels
bug
Something isn't working
Comments
tastytea
added a commit
to tastytea/gitlinker.nvim
that referenced
this issue
Sep 28, 2022
Closes: ruifm#66
SanchayanMaity
pushed a commit
to SanchayanMaity/gitlinker.nvim
that referenced
this issue
Feb 27, 2023
Closes: ruifm#66
stevanmilic
pushed a commit
to stevanmilic/gitlinker.nvim
that referenced
this issue
Nov 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
URLs for repositories managed with cgit, for example https://git.kernel.org/, are missing the repository part. The URLs are
<host>/tree/file
instead of<host>/<repo>/tree/file
.To Reproduce
minimal
init.lua
:git clone https://git.kernel.org/pub/scm/docs/man-pages/man-pages-posix.git
cd man-pages-posix && nvim README
https://git.kernel.org/tree/README?id=3032a293a74969989e3ed4921b690cf9442ac674#n1
Expected behavior
The permalink should be
https://git.kernel.org/pub/scm/docs/man-pages/man-pages-posix.git/tree/README?id=3032a293a74969989e3ed4921b690cf9442ac674#n1
System (please complete the following information):
nvim --version
: NVIM v0.7.2git --version
: git version 2.35.1The text was updated successfully, but these errors were encountered: