Skip to contentSkip to conversation

linux-next: Fixes tag needs some work in the block tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Nov 28, 2022 – Nov 29, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

In commit

4b49197f9fbd ("block: mq-deadline: Rename deadline_is_seq_writes()")

Fixes tag

Fixes 015d02f4853 ("block: mq-deadline: Do not break sequential write streams to zoned HDDs")

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").

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · Stephen Rothwell

Hi all,

In commit

4b49197f9fbd ("block: mq-deadline: Rename deadline_is_seq_writes()")

Fixes tag

Quoted 8 lines
Fixes 015d02f4853 ("block: mq-deadline: Do not break sequential write streams to zoned HDDs")

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").

Oops. Sorry about that. It seems I cannot count up to 12 anymore :) It should be:

Fixes 015d02f48537 ("block: mq-deadline: Do not break sequential write

streams to zoned HDDs")

Jens, can you fix this ?

Signature · 2 lines
Damien Le Moal
Western Digital Research
#2 lore raw
Quoted 18 lines · Damien Le Moal
Quoted 8 lines · Stephen Rothwell

Hi all,

In commit

4b49197f9fbd ("block: mq-deadline: Rename deadline_is_seq_writes()")

Fixes tag

Quoted 8 lines
Fixes 015d02f4853 ("block: mq-deadline: Do not break sequential write streams to zoned HDDs")

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").

Quoted 7 lines

Oops. Sorry about that. It seems I cannot count up to 12 anymore :) It should be:

Fixes 015d02f48537 ("block: mq-deadline: Do not break sequential write

streams to zoned HDDs")

Jens, can you fix this ?

Sure, it's not that important though as it's just missing one digit. For the record, this is what I have in my .gitconfig :

[alias]
fixes = log -1 --format=fixes

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

[core]
abbrev = 12

and then you just do 'git fixes <sha>' and it spits out the line for the commit without needing to count anything and eliminates this error.

Signature · 1 line
Jens Axboe
#3 lore raw
Quoted 33 lines · Jens Axboe
Quoted 18 lines · Damien Le Moal
Quoted 8 lines · Stephen Rothwell

Hi all,

In commit

4b49197f9fbd ("block: mq-deadline: Rename deadline_is_seq_writes()")

Fixes tag

Quoted 8 lines
Fixes 015d02f4853 ("block: mq-deadline: Do not break sequential write streams to zoned HDDs")

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").

Quoted 7 lines

Oops. Sorry about that. It seems I cannot count up to 12 anymore :) It should be:

Fixes 015d02f48537 ("block: mq-deadline: Do not break sequential write

streams to zoned HDDs")

Jens, can you fix this ?

Sure, it's not that important though as it's just missing one digit. For the record, this is what I have in my .gitconfig :

[alias]
fixes = log -1 --format=fixes

Quoted 8 lines

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

[core]
abbrev = 12

and then you just do 'git fixes <sha>' and it spits out the line for the commit without needing to count anything and eliminates this error.

Thanks for the info. Will try this !

Signature · 2 lines
Damien Le Moal
Western Digital Research