Subject: Re: [PATCH] read-cache: report lock error when refreshing index

From: Junio C Hamano <[email-masked]>
Date: Tue, 01 Jul 2025 12:21:20 -0700

Justin Tobler <[email-masked]> writes:

>>  		test_must_fail git stash create 2>err &&
>> -		test_cmp expect err
>> +		test_grep "error: Unable to create '.*index.lock'" err
>
> The test now checks for the explicit lock error message. The check for
> the "error: could not write index" message is also removed even though
> it should still be present in the output. Should we also continue to
> grep for that message too?

Probably.  I was wondering which part of the patch removed the
existing message while reading this update to the test.

Thanks.