dandavison / delta

A syntax-highlighting pager for git, diff, grep, and blame output
https://dandavison.github.io/delta/
MIT License
21.36k stars 360 forks source link

🚀 Allow asking for full hash of the commit in hyperlinks-commit-link-format #1618

Open YehezkelShB opened 5 months ago

YehezkelShB commented 5 months ago

I configured hyperlinks-commit-link-format to https://<link to repo in Azure DevOps>/commit/{commit} This works well with git log etc. but with git blame it seems like there is no option to force delta to display the full commit ID, and ADO URL doesn't work with short commit ID (and probably there are other git hostings that don't support it either). It'd be great if a new placeholder can be added to use the full commit SHA-1 in the URL, e.g. something like hyperlinks-commit-link-format = https://<link to repo>/commit/{fullcommit}