Full commit hashes
Full commit hashes
Posted Dec 15, 2024 14:45 UTC (Sun) by mathstuf (subscriber, #69389)In reply to: Full commit hashes by pabs
Parent article: Facing the Git commit-ID collision catastrophe
Posted Dec 16, 2024 23:53 UTC (Mon)
by pabs (subscriber, #43278)
[Link]
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
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.
Full commit hashes
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9...