docs/process/sending-patches.pandoc: add a tip about using --trailer to collect Acked-by tags
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).
Signed-off-by Edwin Török <[email protected]>
--- docs/process/sending-patches.pandoc | 6 ++++++ 1 file changed, 6 insertions(+)
docs/process/sending-patches.pandoc +6 -0
@@ -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