Re: [PATCH v7] [GSOC] commit: add --trailer option

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

 



On Mon, Mar 15, 2021 at 10:08 AM ZheNing Hu via GitGitGadget
<gitgitgadget@xxxxxxxxx> wrote:

> @@ -166,6 +166,13 @@ The `-m` option is mutually exclusive with `-c`, `-C`, and `-F`.
>
>  include::signoff-option.txt[]
>
> +--trailer <token>[(=|:)<value>]::
> +       Specify a (<token>, <value>) pair that should be applied as a
> +       trailer. (e.g. `git commit --trailer "Signed-off-by:C O Mitter \
> +       <committer@xxxxxxxxxxx>" --trailer "Helped-by:C O Mitter \
> +       <committer@xxxxxxxxxxx>"` will add the "Signed-off" trailer

s/"Signed-off"/"Signed-off-by"/

> +       and the "Helped-by" trailer in the commit message.)

It might be useful to point users to git interpret-trailers'
documentation, for example by adding: "See
linkgit:git-interpret-trailers[1]."

Otherwise, this looks good to me!



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux