From: Junio C Hamano Date: Mon, 10 Aug 2026 21:09:28 GMT Subject: Re: [PATCH v2] send-email: clarify missing subject error Message-ID: In-Reply-To: "Harald Nordgren via GitGitGadget" writes: > +test_expect_success $PREREQ 'missing subject omits Perl location' ' > + cat >no-subject.patch <<-\EOF && > + This is the body. > + EOF > + test_must_fail git send-email \ > + --dry-run \ > + --from="Example " \ > + --to=nobody@example.com \ > + no-subject.patch 2>actual && > + cat >expect <<-\EOF && > + No '\''Subject:'\'' line in '\''no-subject.patch'\'' > + EOF OK. We require the message to exactly be this one (not starting with this substring), which makes sure we are not getting the line numbers from die. Good. Will queue. This round looks perfect. Let's mark it for 'next'. Thanks.