[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] docs/process/sending-patches.pandoc: add a tip about using --trailer to collect Acked-by tags


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Edwin Török <edvin.torok@xxxxxxxxxx>
  • Date: Wed, 9 Nov 2022 10:11:14 +0000
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Edwin Török <edvin.torok@xxxxxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Wed, 09 Nov 2022 10:11:46 +0000
  • Ironport-data: A9a23:N2li56KJt9msVDFsFE+Ry5UlxSXFcZb7ZxGr2PjKsXjdYENS3j0Gy GAXDG2Fb6qLajbyfYokPNi/8UgA6JTTn98yTwFlqX01Q3x08seUXt7xwmUcnc+xBpaaEB84t ZV2hv3odp1coqr0/0/1WlTZhSAgk/rOHv+kUrWs1hlZHWdMUD0mhQ9oh9k3i4tphcnRKw6Ws Jb5rta31GWNglaYCUpJrfPdwP9TlK6q4mlB5wRvPaojUGL2zBH5MrpOfcldEFOgKmVkNrbSb /rOyri/4lTY838FYj9yuu+mGqGiaue60Tmm0hK6aYD76vRxjnVaPpIAHOgdcS9qZwChxLid/ jnvWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I+QrvBIAzt03ZHzaM7H09c4tHG1Rz +MaCAkuRTPa2+G23oDiTNlz05FLwMnDZOvzu1llxDDdS/0nXYrCU+PB4towMDUY354UW6yEP oxANGQpPE+ojx5nYz/7DLozkPmpgD/jdCdfq3qepLYt4niVxwt0uFToGIqJJoHbFZQN9qqej kLYz33eDBhECOKG8wCg8X6Go/HCnCyuDer+E5Xnr6U30TV/3Fc7CgASVFa9iem0jAi5Qd03A 1MQ0jojq+417kPDZsLmQxSyrXqAvxgdc9ldCes37EeK0KW8yxaUAC0IQyBMbPQitdQqXno62 1mRhdTrCDdz9rqPRhq19L2ZsDezMig9NnIZaGkPSg5t3jX4iNht1FSVFI8lSfPryI2ucd3t/ 9yUhHIji6opkswr7oaQ3gmbgDKylMHPfhFgs207QVmZxg9+YYekYamh5l7a8etMIe6lc7WRg JQXs5PAtb5TVPlhgATIGbxQR+/xu55pJRWG2TZS848dGyNBEpJJVaRZ+3lAKUhgKa7okhe5M RaI6Wu9CHK+VUZGjJObgarrVazGLoC6T7wJs8w4ifIfCqWdjCfdoElTibe4hggAUCEEyMnTw 6uzf8e2Fmo9Aq961jewTOp1+eZ1mH9vnjmOHcGik0zPPV+iiJm9EOltDbdzRrphsPPsTPv9r 76zyPdmOz0ACbajM0E7AKYYLEwQLGhTOHwFg5U/SwNCSyI4cFwc5wj5m+x8KtI+xPkMyo8lP BiVAydl9bY2vlWfQS3iV5ypQOqHsUpXxZ7jARERAA==
  • Ironport-hdrordr: A9a23:kCvC9aiTNVT7lMhxvd7eR8eryXBQXtQji2hC6mlwRA09TySZ// rOoB19726TtN9xYgBGpTnuAtjifZqxz/FICOoqTNOftWvdyQmVxehZhOOIqVCNJ8SXzJ8l6U 4KSchD4bPLY2SS9fyKhTWFLw==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This can be useful when preparing a series for resend and want to
collect any Acked-by/etc. tags from the mailing list.
It avoids duplicate entries, and puts the tag in the correct place
(even if the commit has a --- line), and you get to see the result
before committing (unless you use --no-edit).

Signed-off-by: Edwin Török <edvin.torok@xxxxxxxxxx>
---
 docs/process/sending-patches.pandoc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/process/sending-patches.pandoc 
b/docs/process/sending-patches.pandoc
index 2e74c3b57e..90ac7b6cf1 100644
--- a/docs/process/sending-patches.pandoc
+++ b/docs/process/sending-patches.pandoc
@@ -72,6 +72,12 @@ after the patch was written.
 Do not split a tag across multiple lines, tags are exempt from the
 "wrap at 75 columns" rule in order to simplify parsing scripts.
 
+Tags can be added on the command-line in the appropriate place by using
+the `--trailer` flag (on a recent enough version of git), e.g.:
+```
+git commit --amend --trailer 'Acked-by: Maintainer <maintainer@xxxxxxxxxxx>'
+```
+
 ### Origin:
 
 Xen has inherited some source files from other open source projects. In case
-- 
2.34.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.