Format of patterns recognized in commit messages for auto-posting in bugs

Simon Marchi simon.marchi@polymtl.ca
Fri Apr 22 17:49:17 GMT 2022


Hi Joel,

What are the formats recognized by the git hooks to detect that a commit
refers to a Bugzilla bug, and post a message on that bug?  We used to
write "PR gdb/1234" and it was recognized.  Now, we use "Bug:" trailers,
like in this commit:

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=152a17495663ae9099d5efdc38322c9ad348014e

... but it doesn't seem recognized.  Would it be possible to recognize
Bugzilla URLs?

Simon


More information about the Gdb mailing list