Re: [PATCH/GSoC] add a add.patch config variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 25, 2016, 06:30 UTC
- Message-ID
- <xmqqio0b5ash.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <56F489C3.9050400@web.de>
Dominik Fischer <d.f.fischer@web.de> writes:
> As the configuration variable can be overwritten by a command line > option, I am tempted to amend this by replacing all occurrences of > "git add" in other scripts with "git add --no-patch" to ensure the > expected behavior.
Don't even think about it--you won't know all scripts you have to fix like that, as a lot more invocations of "git add" appear in end user's scripts that we have never seen.