Skip to contentSkip to conversation

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

PATCH New Edwin Török 1 participant 1 message Nov 9, 2022

lore
Share & tools
lore
#0 lore raw

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

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).

---
 docs/process/sending-patches.pandoc | 6 ++++++
 1 file changed, 6 insertions(+)
docs/process/sending-patches.pandoc +6 -0
index 2e74c3b57e..90ac7b6cf1 100644
@@ -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 <[email protected]>'
+```
+
 ### Origin:
 
 Xen has inherited some source files from other open source projects. In case
Signature · 1 line
2.34.1