From: Stefan Herbrechtsmeier <[email protected]>
Extract patches with all-zero hash in each patch header instead of the hash of the commit to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier <[email protected]> --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 71cd193afb..cc4c8f4371 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -465,7 +465,7 @@ class GitApplyTree(PatchTree): tempdir = tempfile.mkdtemp(prefix='oepatch') try: shellcmd = ["git", "format-patch", "--no-signature", "--no-numbered", - "--no-stat", startcommit, "-o", tempdir] + "--no-stat", "--zero-commit", startcommit, "-o", tempdir] if paths: shellcmd.append('--') shellcmd.extend(paths) -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190472): https://lists.openembedded.org/g/openembedded-core/message/190472 Mute This Topic: https://lists.openembedded.org/mt/102561451/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
