From: Johannes Altmanninger Date: Sat, 06 Nov 2021 11:47:10 GMT Subject: Re: [PATCH v3] apply: --intent-to-add should imply --index Message-ID: <20211106114710.v3ew6752svuvjtk6@gmail.com> In-Reply-To: <20211106114202.3486969-1-aclopte@gmail.com> On Sat, Nov 06, 2021 at 12:42:02PM +0100, Johannes Altmanninger wrote: > +test_expect_success 'apply --intent-to-add is not allowed to modify untracked file' ' > + echo version1 >file && > + ! git apply --intent-to-add <<-EOF I guess s/!/test_must_fail/