]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
scripts/contrib/patchreview: fix commit identification
authorRoss Burton <ross.burton@arm.com>
Mon, 30 Oct 2023 11:48:38 +0000 (11:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Oct 2023 11:53:16 +0000 (11:53 +0000)
commit3c04747b681cf6090ba9c77752f6c2f304dbbe17
tree2f4818c4859978a01b2f562310791942060e84b4
parent0cc2c0a9ec16fceeb19e01cd47af8c0743168030
scripts/contrib/patchreview: fix commit identification

git show-ref looks at the _remote_ ref called HEAD, which is fine when it
matches the local HEAD but problematic when you're iterating a series of
commits.

Use rev-parse to resolve the local name to a proper hash.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/patchreview.py