Title: [294194] trunk/Tools
Revision
294194
Author
[email protected]
Date
2022-05-14 07:40:27 -0700 (Sat, 14 May 2022)

Log Message

[webkit-patch] Include commit messages in patches (Follow-up)
https://bugs.webkit.org/show_bug.cgi?id=240256
<rdar://problem/92982358>

Unreviewed follow-up fix.

* Tools/Scripts/webkitpy/common/checkout/scm/git.py:
(Git.create_patch): Prefer commit specified by user.

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

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (294193 => 294194)


--- trunk/Tools/ChangeLog	2022-05-14 13:59:52 UTC (rev 294193)
+++ trunk/Tools/ChangeLog	2022-05-14 14:40:27 UTC (rev 294194)
@@ -1,3 +1,14 @@
+2022-05-14  Jonathan Bedard  <[email protected]>
+
+        [webkit-patch] Include commit messages in patches (Follow-up) 
+        https://bugs.webkit.org/show_bug.cgi?id=240256
+        <rdar://problem/92982358>
+
+        Unreviewed follow-up fix.
+
+        * Scripts/webkitpy/common/checkout/scm/git.py:
+        (Git.create_patch): Prefer commit specified by user.
+
 2022-05-13  Jonathan Bedard  <[email protected]>
 
         [webkit-patch] Apply patches commit messages

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


--- trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2022-05-14 13:59:52 UTC (rev 294193)
+++ trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2022-05-14 14:40:27 UTC (rev 294194)
@@ -372,6 +372,8 @@
 
         if git_index:
             command += ['--cached']
+        elif git_commit:
+            command += [merge_base]
         elif merge_base != head:
             command += ['HEAD...{}'.format(merge_base)]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to