Junio C Hamano wrote: > Jonathan Nieder <jrnieder@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html