From: René Scharfe Date: Sun, 26 Oct 2025 16:11:04 GMT Subject: Re: [PATCH 2/2] add-patch: quit on EOF Message-ID: <01fb6bdc-7a42-4e14-b7c7-16860ce8af00@web.de> In-Reply-To: On 10/26/25 2:46 AM, Junio C Hamano wrote: > > Let's do this squashed in. > > t/t3701-add-interactive.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git c/t/t3701-add-interactive.sh w/t/t3701-add-interactive.sh > index 071b78c355..4285314f35 100755 > --- c/t/t3701-add-interactive.sh > +++ w/t/t3701-add-interactive.sh > @@ -1438,8 +1438,8 @@ test_expect_success 'EOF quits' ' > echo X >file && > echo X >file2 && > git add -p out && > - grep file out && > - ! grep file2 out > + test_grep file out && > + test_grep ! file2 out > ' > > test_done Good idea, thank you! René