Re: [PATCH] Add tests for git format-patch --to and format.to config option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 7, 2010, 18:38 UTC
- Message-ID
- <7vk4torn8j.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4B937559.6000302@gmail.com>
Stephen Boyd <bebarino@gmail.com> writes:
Show 6 quoted lines
> ... We have the > option of making them consistent with the rest of git with a little bit > of work. If you say --no-cc or --no-add-headers or --no-to the > respective config should be overriden. If you say --to or --cc or > --add-headers it should be appended. I doubt anyone would find that > surprising since --no-* doesn't do anything right now.
That sounds like a sensible and practical way out, as it won't break existing setup that expects the additive behaviour these two command somehow ended up with, while allowing --no-* to override the config when necessary.