From: Jonathan Nieder Date: Thu, 17 Feb 2011 22:16:45 GMT Subject: Re: [PATCH v2] Introduce CHERRY_PICK_HEAD Message-ID: <20110217221645.GA10007@elie> In-Reply-To: <7vpqqqbfgr.fsf@alter.siamese.dyndns.org> Junio C Hamano wrote: > Jonathan Nieder writes: >> 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