Thread (1 message) 1 message, 1 author, 2021-08-27

Re: bugreport: git apply -3 confusing "lacks the necessary blob"

From: Junio C Hamano <hidden>
Date: 2021-08-27 17:14:49

Jan Kratochvil [off-list ref] writes:
On Fri, 20 Aug 2021 19:40:12 +0200, Junio C Hamano wrote:
quoted
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.
For example from Phabricator:
	https://reviews.llvm.org/file/data/3ceoc32b3yv43vk3nw4q/PHID-FILE-lfeeh2qu4vrngdcwwudo/D107456.diff

quoted
Perhaps something like the attached patch would be a good start.
Do you plan to check it in?
Maybe eventually but not yet.  When I say "a good start", it is
because it is known to be insufficient.  I haven't had a chance to
revisit the issue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help