lkml.org 
[lkml]   [2020]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: Fixes tag needs some work in the spi-nor tree
Hi,

On Fri, 29 May 2020 07:31:47 +0000 <Tudor.Ambarus@microchip.com> wrote:
>
> Right. Maybe it is worth to add this kind of check in checkpatch.pl. One can
> generate the Fixes tag by adding an alias in .gitconfig:
>
> [alias]
> fixes = show --format='Fixes: %h (\"%s\")' -s

I usually suggest

git log -1 --format='Fixes: %h ("%s")' <SHA>

but pretty much the same. The trick is to make sure you have a new
enough version of git and make sure that core.abbrev is not set (or set
to "auto").
--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-05-29 11:49    [W:0.044 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site