Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Oct 6, 2020 – Oct 7, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

In commit

3b6c3adbb2fa ("powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints")

Fixes tag

Fixes 7ffd948 ("powerpc/perf: factor out power8 pmu functions")

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

Since Michael doesn't generally rebase his tree, this is more to be remebered for next time.

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

Hi all,

In commit

3b6c3adbb2fa ("powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints")

Fixes tag

Fixes 7ffd948 ("powerpc/perf: factor out power8 pmu functions")
Quoted 8 lines

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

Since Michael doesn't generally rebase his tree, this is more to be remebered for next time.

Yeah, if it was the wrong SHA I would rebase, but not just for a short SHA.

You can avoid this in future by doing:

$ git config --add core.abbrev 12
$ git config --add pretty.fixes 'Fixes: %h ("%s")'
$ git config --add alias.showfix 'log -1 --format=fixes'

Then you can do:

$ git showfix 7ffd948
Fixes: 7ffd948fae4c ("powerpc/perf: factor out power8 pmu functions")

cheers