diff options
| author | Paul Barker <paul@pbarker.dev> | 2026-01-07 11:08:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2026-03-16 10:22:06 +0000 |
| commit | da499d6c217a3151a6affb7d56b156e3b7567683 (patch) | |
| tree | aca31f6cee6d04fa7825a11dc3cae31a279c8e44 /scripts | |
| parent | d8b1c623be9a43e4f9ef77d70176373f881494f2 (diff) | |
| download | poky-da499d6c217a3151a6affb7d56b156e3b7567683.tar.gz | |
create-pull-request: Keep commit hash to be pulled in cover email
The cover email mangling in create-pull-request was cutting off the
actual commit hash to be pulled, making it difficult to verify that the
changes a maintainer merges exactly match those intended by the pull
request author.
The extra lines we want to include are, for example from a recent
whinlatter stable branch PR:
for you to fetch changes up to 6c4c6d39ea3202d756acc13f8ce81b114a468541:
cups: upgrade from 2.4.14 to 2.4.15 (2025-12-29 09:49:31 -0800)
(From OE-Core rev: a18ebd408eba0bffe4e6ea58a91fd41e60f24216)
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c78f5ae4a5ba3675b78cc226feb7b9fbbfd8da19)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/create-pull-request | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request index 885105fab3..5c4414ecd5 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request | |||
| @@ -219,7 +219,7 @@ fi | |||
| 219 | 219 | ||
| 220 | # The cover letter already has a diffstat, remove it from the pull-msg | 220 | # The cover letter already has a diffstat, remove it from the pull-msg |
| 221 | # before inserting it. | 221 | # before inserting it. |
| 222 | sed -n "0,\#$REMOTE_URL# p" "$PM" | sed -i "/BLURB HERE/ r /dev/stdin" "$CL" | 222 | sed -n "0,\#^----------------------------------------------------------------# p" "$PM" | sed -i "/BLURB HERE/ r /dev/stdin" "$CL" |
| 223 | rm "$PM" | 223 | rm "$PM" |
| 224 | 224 | ||
| 225 | # If this is an RFC, make that clear in the cover letter | 225 | # If this is an RFC, make that clear in the cover letter |
