Full commit hashes
Full commit hashes
Posted Dec 16, 2024 23:53 UTC (Mon) by pabs (subscriber, #43278)In reply to: Full commit hashes by mathstuf
Parent article: Facing the Git commit-ID collision catastrophe
There is a hyperlink ANSI escape sequence, and it seems that you can include arbitrary text as the "URL".
On GNOME Terminal at least, that means you can create an underlined sequence, that on mouse hover, will show the commit message summary. Since it strips out tabs, LF and probably more, you can't add the full commit message though.
https://github.com/Alhadis/OSC8-Adoption
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9...
Unfortunately the hover part isn't implemented in Ptyxis, which is the successor to GNOME Console, which was the successor to GNOME Terminal.
KDE Konsole also doesn't enable hyperlink support by default.