We can also add fixline to git to get the formatted output i.e.
vpp$ git fixline 3effb4e6 Fixes: 3effb4e63068 ("memif: integrate with new tx infra") One can add the following to .gitconfig file: fixline = log -1 --abbrev=12 --format='Fixes: %h (\"%s\")' -br Mohsin From: <vpp-dev@lists.fd.io> on behalf of "Damjan Marion via lists.fd.io" <dmarion=me....@lists.fd.io> Reply-To: "dmar...@me.com" <dmar...@me.com> Date: Tuesday, November 2, 2021 at 5:44 PM To: "Steven Luong (sluong)" <slu...@cisco.com> Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Please include Fixes: tag for regression fix We should probably extend checkstyle to reject patch if there is “Type: fix” and there is no “Fixes: *”. We can have special case “Fixes: unknown” to willingly bypass this check…. — Damjan > On 02.11.2021., at 18:17, steven luong via lists.fd.io > <sluong=cisco....@lists.fd.io> wrote: > > Folks, > > In case you don’t already know, there is a tag called Fixes in the commit > message which allows one to specify if the current patch fixes a regression. > See an example usage in https://gerrit.fd.io/r/c/vpp/+/34212 > > When you commit a patch which fixes a known regression, please make use of > the Fixes tag to benefit every consumer. > > Steven > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20411): https://lists.fd.io/g/vpp-dev/message/20411 Mute This Topic: https://lists.fd.io/mt/86771694/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-