Thread (1 message) 1 message, 1 author, 2017-08-14

Re: [PATCH v4 0/4] interpret-trailers: add --where, --if-exists, --if-missing

From: Junio C Hamano <hidden>
Date: 2017-08-14 17:57:30

Paolo Bonzini [off-list ref] writes:
On 01/08/2017 11:03, Paolo Bonzini wrote:
quoted
From: Paolo Bonzini <pbonzini@redhat.com>

These options are useful to experiment with "git interpret-trailers"
without having to tinker with .gitconfig (Junio said git should ahve
done this first and only added configuration afterwards).  It can
be useful in the case where you want a different placement for the trailer,
or for scripts/aliases that don't want to rely on specific .gitconfig
settings.

Compared to v2, the main change is that option order on the command-line
is respected.  That is,

	--trailer 'acked-by: foo' --where end --trailer 'signed-off-by: me'

will only apply where=end to the second trailer.  Likewise,

	--where end --trailer 'signed-off-by: me' --no-where \
	--trailer 'acked-by: foo'

will only apply it to the first, reverting to trailer.*.where for the
"acked-by" trailer.
Junio, I see you haven't yet applied this v4 to origin/pu, did you miss it?
Thanks for pinging.  Either it was not noticed by mistake or was
deliberately ignored during the pre-release freeze, I do not
remember.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help