2022-06-22 23:39:36

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: Fixes tag needs some work in the block tree

Hi all,

In commit

1da6baa4e4c2 ("io_uring: move io_uring_get_opcode out of TP_printk")

Fixes tag

Fixes: 033b87d2 ("io_uring: use the text representation of ops in trace")

has these problem(s):

- SHA1 should be at least 12 digits long
This can be fixed for the future 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").

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-06-23 00:35:06

by Jens Axboe

[permalink] [raw]
Subject: Re: linux-next: Fixes tag needs some work in the block tree

On 6/22/22 5:21 PM, Stephen Rothwell wrote:
> Hi all,
>
> In commit
>
> 1da6baa4e4c2 ("io_uring: move io_uring_get_opcode out of TP_printk")
>
> Fixes tag
>
> Fixes: 033b87d2 ("io_uring: use the text representation of ops in trace")
>
> has these problem(s):
>
> - SHA1 should be at least 12 digits long
> This can be fixed for the future 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").

I'll rebase on -rc4 anyway, I'll fix thie one up.

Dylan, here's what I use for adding Fixes tags:

[pretty]
fixes = Fixes: %h (\"%s\")

and then I just do:

git fixes 033b87d2
Fixes: 033b87d24f72 ("io_uring: use the text representation of ops in trace")

to generate it.

--
Jens Axboe

2022-06-23 08:46:15

by Dylan Yudaken

[permalink] [raw]
Subject: Re: linux-next: Fixes tag needs some work in the block tree

On Wed, 2022-06-22 at 17:44 -0600, Jens Axboe wrote:
> On 6/22/22 5:21 PM, Stephen Rothwell wrote:
> > Hi all,
> >
> > In commit
> >
> >   1da6baa4e4c2 ("io_uring: move io_uring_get_opcode out of
> > TP_printk")
> >
> > Fixes tag
> >
> >   Fixes: 033b87d2 ("io_uring: use the text representation of ops in
> > trace")
> >
> > has these problem(s):
> >
> >   - SHA1 should be at least 12 digits long
> >     This can be fixed for the future 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").
>
> I'll rebase on -rc4 anyway, I'll fix thie one up.
>
> Dylan, here's what I use for adding Fixes tags:
>
> [pretty]
>         fixes = Fixes: %h (\"%s\")
>
> and then I just do:
>
> git fixes 033b87d2
> Fixes: 033b87d24f72 ("io_uring: use the text representation of ops in
> trace")
>
> to generate it.
>

Thanks! I'll automate it next time as obviously by hand is nuts

Dylan