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.