Message ID | 44a0555f37251e57f0943ed4416013f047da40fb.1667988674.git.edvin.torok@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | docs/process/sending-patches.pandoc: add a tip about using --trailer to collect Acked-by tags | expand |
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@example.com>' +``` + ### Origin: Xen has inherited some source files from other open source projects. In case
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@citrix.com> --- docs/process/sending-patches.pandoc | 6 ++++++ 1 file changed, 6 insertions(+)