-
Notifications
You must be signed in to change notification settings - Fork 405
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
Commit hyperlink not working 🐛 #1628
Comments
Same for me |
Hi @porridgewithraisins, @gczajkowskiTT let's look at the raw bytes that delta's emitting. Can you post the output of
(or |
I now use a linux laptop (kitty terminal) and it works for me. However, in the few months I used a mac, it did not work at all (in iterm and in kitty). Not able to test now unfortunately. |
Has anyone observed that the commit hyperlink doesn't work while other hyperlinks do work? Or are you saying that all hyperlinks (commit, files, line numbers) don't work when there's a problem? Also if the latter, are you using tmux? |
No hyperlinks are working for me and this is without tmux. Part of the problem looked to be git |
If you do
then that hyperlink works, right? If so, then if you capture the bytes emitted by delta ( |
Yes, specifically in VSCode terminal in MacOS. But I can't use these for Linux links.
No such option in MacOS
|
Hmm. I haven't yet come up with a hypothesis for why that would be. It's not the case in my VSCode terminal on MacOS: Here's the code. Can you think what might be going on? It's definitely finding your git config is it? The code shows that the hyperlink will be added if the hyperlink format setting is in effect or if it can find git config and find a git remote for the repo. Are you talking about a situation where the commit hyperlink works fine in a standard terminal emulator on the same machine and then suddenly stops working in VSCode? delta/src/features/hyperlinks.rs Lines 22 to 43 in 1fb6f99
|
I'm guessing that if you set |
Here is something interesting Then
From the documentation:
So this won't work for our private gitlab instances
Not sure. If I add hyperlinks-commit-link-format to both Linux and MacOS, the links are added.However I have no clue what to add for hyperlinks-commit-link-format in a local repo. On MacOS: (For my reference I was looking at #613) |
I have
in my
~/.gitconfig
in my
~/e2ee.js/.git/config
Files are hyperlinked to vscode as I have set
hyperlinks-file-link-format
to thevscode://
handler.However, the commit hash isn't rendering as a hyperlink.
cmd+clicking it doesnt work either, fwiw
Also, the hyperlinks don't render in
git blame
output either.I am using iterm, zsh here.
The text was updated successfully, but these errors were encountered: