Re: add -e, was Re: What's cooking in git.git (Apr 2009, #02; Sun, 12)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 14, 2009, 22:31 UTC
- Message-ID
- <7v7i1m3m1m.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0904142224030.10279@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Actually, I am beginning to hate the idea of having this in add -e, but
> would prefer it to be in apply ("git apply $PATCH" could -- and should --
> complain when not being called with --unidiff-zero and encountering a
> patch that should (but does not) have common context lines).I think it already complains by rejecting. The thing is, only "add -e" knows that the patch being fed to apply is potentially manually corrupt by the end user.