From: Raymond E. Pasco Date: Fri, 07 Aug 2020 03:44:11 GMT Subject: Re: [PATCH v4 3/3] t4140: test apply with i-t-a paths Message-ID: In-Reply-To: On Thu Aug 6, 2020 at 5:07 PM EDT, Junio C Hamano wrote: > We can delete an I-T-A entry. I wonder if > > git apply --cached -R creation-patch > > also serves as a way to remove the path? It should succeed, right? It fails to apply because the inverse patch to creation-patch removes lines, while the i-t-a entry has no lines. (Looking at it from the other angle, deletion-patch doesn't delete lines, because there are none.) (Of course, -R creation-patch after creation-patch removes the path cleanly.)