Message ID | 20231113135746.1047416-2-lukas.funke-oss@weidmueller.com |
---|---|
State | New |
Headers | show |
Series | patch: reduce changes during patch refresh | expand |
On 13/11/2023 14:57:45+0100, Lukas Funke wrote: > From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> > > Extract patches without diffstats to reduce changes during patch > refresh. > > Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> This also need your SoB > --- > meta/lib/oe/patch.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py > index 4ec9caed45..71cd193afb 100644 > --- a/meta/lib/oe/patch.py > +++ b/meta/lib/oe/patch.py > @@ -464,7 +464,8 @@ class GitApplyTree(PatchTree): > import shutil > tempdir = tempfile.mkdtemp(prefix='oepatch') > try: > - shellcmd = ["git", "format-patch", "--no-signature", "--no-numbered", startcommit, "-o", tempdir] > + shellcmd = ["git", "format-patch", "--no-signature", "--no-numbered", > + "--no-stat", 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 (#190471): https://lists.openembedded.org/g/openembedded-core/message/190471 > Mute This Topic: https://lists.openembedded.org/mt/102561450/3617179 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 4ec9caed45..71cd193afb 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -464,7 +464,8 @@ class GitApplyTree(PatchTree): import shutil tempdir = tempfile.mkdtemp(prefix='oepatch') try: - shellcmd = ["git", "format-patch", "--no-signature", "--no-numbered", startcommit, "-o", tempdir] + shellcmd = ["git", "format-patch", "--no-signature", "--no-numbered", + "--no-stat", startcommit, "-o", tempdir] if paths: shellcmd.append('--') shellcmd.extend(paths)