linking to git revisions in bugzilla

Yuri Pankov yuripv at
Thu May 6 10:07:04 UTC 2021

Oleksandr Tymoshenko wrote:
> Kubilay Kocak (koobs at wrote:
>> On 12/04/2021 9:02 am, Yuri Pankov wrote:
>>> While filing a bug, I noticed that the help only mentions svn revision numbers, and "Preview" tab had no output when I tried putting "base <short-git-hash>", so I'm wondering how do you link to git revisions?
>> We'll (bugmeister) be adding parsing support for it (along with a few 
>> other related auto-linking things)
>> I'd encourage people to use "<repo> <short hash>" (repo = src|doc|ports) 
>> where short hash is at least 8 chars in the meantime. Once parsing is 
>> added all previous references will be linked.
> Links to git hashes should work now, please test and let us
> know if feature works as expected. As Michael mentioned - preview
> is a different matter, I'll try to look into it later.

Hi Oleksandr,

It seems to work except when the git hash starts with a digit, it then
tries to link to subversion revision using all available digits at the
start of the hash.  Or, at least, that's what I'm seeing in preview tab,
not sure if it has been fixed yet?

More information about the freebsd-current mailing list