#2145·delta

Colors break commit hyperlinks since upgrade to 0.19.2

Author: gorfeyCreated Apr 18, 2026Updated Aug 11, 2026

Hi,

On version 0.18.2, I am able to have hyperlinks render when using git log with a --pretty format that shows commit hashes in a color: Image (It's a little hard to see, but it created a hyperlink)

On version 0.19.2, the same pretty format suppresses the hyperlinks; they appear when not showing the commit in red, but not when I do: Image (It's a little hard to see, but the second git log call created a hyperlink while the other three didn't)

bash
gorfe:LS\delta:pwsh> git --no-pager log -1 --pretty=format:'%h'
f85c46b
gorfe:LS\delta:pwsh> git log -1 --pretty=format:'%h'
f85c46b
gorfe:LS\delta:pwsh> git --no-pager log -1 --pretty=format:'%Cred%h%Creset'
f85c46b
gorfe:LS\delta:pwsh> git log -1 --pretty=format:'%Cred%h%Creset'
f85c46b
gorfe:LS\delta:pwsh> delta --version
delta 0.19.2

I would expect git log -1 --pretty=format:'%Cred%h%Creset' to produce a hyperlink, just like git log -1 --pretty=format:'%h did. It would be nice if I could both get hyperlinks and have colorful log messages.