Jeff King <[email protected]> writes:
>> +test_expect_success 'Resolving by removal is not a warning-worthy event' '
>> + git reset -q --hard &&
>> + test_when_finished "rm -f .git/index.lock msg && git reset -q --hard" &&
>> + qfwfq=$(echo qfwfq | git hash-object -w --stdin) &&
>
> I'd have called this "$blob" for my own sanity in typing later lines,
> but OK. :)
OK, I can change that easily ;-)
>> + do
>> + echo "100644 $qfwfq $stage qfwfq"
>> + done | git update-index --index-info &&
>> + git rm qfwfq >msg &&
>> + test_i18ngrep ! "needs merge" msg &&
>
> Should we capture stderr from "git rm", too, to cover all bases?
Do you mean
git rm blob >msg 2>&1
because we could later change our mind and send "needs merge"
message to the standard error stream?