Re: bugreport: git apply -3 confusing "lacks the necessary blob"
- From
- Jan Kratochvil <jan@jankratochvil.net>
- Date
- Aug 20, 2021, 18:30 UTC
- Message-ID
- <YR/03XFO3uA5uCF0@host1.jankratochvil.net>
- In-Reply-To
- <xmqqtujkui9v.fsf@gitster.g>
On Fri, 20 Aug 2021 19:40:12 +0200, Junio C Hamano wrote:
> But I think Jan is talking about the case where users get a patch > that lacks the "index" information out of other people's "diff" > implementation and try to "apply -3" without realizing that it is > not Git's "diff" output.
Yes.
> Perhaps something like the attached patch would be a good start.
It does fix the problem for me, thanks!
Jan