[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: [PATCH v12 11/11] Documentation: add documentation for 'git interpret-trailers'
From: Jakub Narębski <jnareb () gmail ! com>
Date: 2014-06-30 11:57:40
Message-ID: 53B150B4.1030303 () gmail ! com
[Download RAW message or body]
Christian Couder wrote:
> +------------
> +
> +* Configure a 'sign' trailer with a command to automatically add a
> + 'Signed-off-by: ' with the author information only if there is no
> + 'Signed-off-by: ' already, and show how it works:
> ++
> +------------
> +$ git config trailer.sign.key "Signed-off-by: "
> +$ git config trailer.sign.ifmissing add
> +$ git config trailer.sign.ifexists doNothing
> +$ git config trailer.sign.command 'echo "$(git config user.name) <$(git config user.email)>"'
> +$ git interpret-trailers <<EOF
> +> EOF
How to configure git-interpret-trailers command so that it follow
current rules for DCO:
* Signed-off-by: is always at bottom; we can have
signoff+signoff+ack+signoff
* Signed-off-by: can repeat itself with the same author;
this denotes steps in coming up with current version of the patch.
* but we shouldn't repeat the same signoff one after another
So we want to allow this:
Signed-off-by: A U Thor <author@example.com>
Signed-off-by: Joe R. Hacker <joe@hacker.com>
Acked-by: D E Veloper <developer@example.com>
Signed-off-by: C O Mitter <committer@example.com>
but prevent this
Signed-off-by: C O Mitter <committer@example.com>
Signed-off-by: C O Mitter <committer@example.com>
IIRC
--
Jakub Narębski
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic