[PATCH 0/3] some send-email --compose fixes
- From
Jeff King <peff@peff.net>
- Date
- Oct 20, 2023, 10:03 UTC
- Message-ID
- <20231020100343.GA2194322@coredump.intra.peff.net>
- In-Reply-To
- <20231020071402.GC1642714@coredump.intra.peff.net>
[culling the rather large cc, as we moving off the original topic]
On Fri, Oct 20, 2023 at 03:14:03AM -0400, Jeff King wrote:
Show 7 quoted lines
> and there's your perl array ref (from the square brackets, which are > necessary because we're sticking it in a hash value). But even before > your patch, this seems to end up as garbage. The code which reads > $parsed_line does not dereference the array. > > The patch to fix it is only a few lines (well, more than that with some > light editorializing in the comments):
So here's the fix in a cleaned up form, guided by my own comments from earlier. ;) I think this is actually all orthogonal to the patch you are working on, so yours could either go on top or just be applied separately.
[1/3]: doc/send-email: mention handling of "reply-to" with --compose [2/3]: Revert "send-email: extract email-parsing code into a subroutine" [3/3]: send-email: handle to/cc/bcc from --compose message
Documentation/git-send-email.txt | 10 +-- git-send-email.perl | 132 ++++++++++++------------------- t/t9001-send-email.sh | 41 ++++++++++ 3 files changed, 98 insertions(+), 85 deletions(-)
-Peff