On Thu, Aug 20, 2020 at 07:15:02PM +1000, Stephen Rothwell wrote:
> On Thu, 20 Aug 2020 10:21:49 +0200 Borislav Petkov <[email protected]> wrote:
> >
> > On Thu, Aug 20, 2020 at 04:12:39PM +1000, Stephen Rothwell wrote:
> > > 
> > > Fixes tag
> > > 
> > >   Fixes: 9554bfe403nd ("x86/mce: Convert the CEC to use the MCE 
> > > notifier")  
> > 
> > Hmm, this came from the original patch submission:
> > 
> > https://lkml.kernel.org/r/[email protected]
> > 
> > the 'n' is already there.
> 
> yeah, I wish people would just generate these lines:
> 
> git log -1 --format='Fixes: %h ("%s")' <commit-id>

FWIW, I'm using a script 'git-fixesline' that git also understands as a
subcommand 'git fixesline' with:

git --no-pager show -s --abbrev-commit --abbrev=12 --pretty=format:"Fixes: %h 
(\"%s\")%n" "$@"

(Dunno why not an alias but it works the same way.)

Reply via email to