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/