Thread (1 message) 1 message, 1 author, 2025-07-01

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

From: Junio C Hamano <hidden>
Date: 2025-07-01 19:21:22

Justin Tobler [off-list ref] writes:
quoted
 		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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help