Re: [RFC/PATCH] Add interpret-trailers builtin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2013, 17:18 UTC
- Message-ID
- <xmqq4n7pa1pn.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAP8UFD0STna++2StV1RcT2bB83Lh_hFQU94A0y4ziovs61Z==A@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 7 quoted lines
> To append a s-o-b only if there is no s-o-b already, one would need to use: > > [trailer "signoff"] > key = "Signed-off-by:" > if_exist = dont_append > if_missing = append > command = echo "$GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"'
But that is insufficient to emulate what we do, no? I.e. append unless the last one is from the same person we are about to add.