linux-next: Fixes tag needs some work in the spi-nor tree
Hi all,
In commit
5587fa489747 ("mtd: spi-nor: spansion: fix writes on S25FS512S")
Fixes tag
has these problem(s):
- SHA1 should be at least 12 digits long
Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11 or later) just making sure it is not set (or set to "auto").
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 1 line · EEST Stephen Rothwell
Hi all,
Hi, Stephen,
Quoted 7 lines
In commit
5587fa489747("mtd: spi-nor: spansion: fix writes on S25FS512S")Fixes tag
Quoted 7 lines
Fixes dfd2b74530e ("mtd: spi-nor: add Spansion S25FS512S ID")has these problem(s):
- SHA1 should be at least 12 digits long
Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11 or later) just making sure it is not set (or set to "auto").
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
And generate the Fixes tag with "git fixes sha1"
Cheers,
ta
Hi,
Quoted 6 lines · On Fri, 29 May 2020 07:31:47 +0000 <[email protected]> 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").
Signature · 2 lines
Cheers, Stephen Rothwell