Thread (15 messages) flat view 15 messages, 4 authors, 2016-06-15

Re: [PATCH v2] Introduce CHERRY_PICK_HEAD

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:50:35

Junio C Hamano wrote:
Jonathan Nieder [off-list ref] writes:
quoted
Wait, does this mean that -c/-C/--amend/CHERRY_PICK_HEAD overrides
GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, and GIT_AUTHOR_DATE?
[...]
Hmph, -c/-C/--amend is like giving the identity with --author from the
command line so overriding the values from the environment variables
sounds like the right thing to do.
Good point.  There are two principles at work here:

 - options with more specific effect override more general ones
 - options on the command line override the environment

On second thought, the latter does seem more relevant (though it need
not apply to CHERRY_PICK_HEAD).

Thanks for a sanity check.
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help