Title: [295471] trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py
Revision
295471
Author
[email protected]
Date
2022-06-10 19:44:51 -0700 (Fri, 10 Jun 2022)

Log Message

[webkit-patch] Format patch without version signature
https://bugs.webkit.org/show_bug.cgi?id=240516

Reviewed by Jonathan Bedard.

By default 'git-format-patch' adds a signature at the bottom of a diff
patch with Git version number, which the DiffParser wrongly interprets as
a patch chunk.

* Tools/Scripts/webkitpy/common/checkout/scm/git.py: Use knob
  '--no-signature' to emit patch without signature.

Canonical link: https://commits.webkit.org/251476@main

Modified Paths

Diff

Modified: trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py (295470 => 295471)


--- trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2022-06-11 01:33:15 UTC (rev 295470)
+++ trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2022-06-11 02:44:51 UTC (rev 295471)
@@ -361,7 +361,7 @@
         if not commit_message or merge_base == head:
             command = [self.executable_name, 'diff', '--binary', '--no-color', '--no-ext-diff', '--full-index', '--no-renames']
         else:
-            command = [self.executable_name, 'format-patch', '--stdout', '--binary']
+            command = [self.executable_name, 'format-patch', '--no-signature', '--stdout', '--binary']
 
         # Put code changes at the top of the patch and layout tests
         # at the bottom, this makes for easier reviewing.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to