From: leahneukirchen <leahneukirchen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: mrep: fix subject not populating when pager stdout is not tty
Date: Tue, 18 Jul 2023 14:05:17 +0200 [thread overview]
Message-ID: <20230718120517.GObnuA7lEmfWXsgzo3PYtb7dlNUBz-F8x7CFK60xB0g@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-243@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
There's a closed pull request on the mblaze repository
mrep: fix subject not populating when pager stdout is not tty
https://github.com/leahneukirchen/mblaze/pull/243
Description:
If the pager is set to something where stdout is not a TTY, such as a text editor, it causes non-interactive calls to `mscan` to fail with the error: `Fatal error: stdout is not a tty`. When building the subject, `mrep` fetches the subject from the email being replied to using `mscan`, causing this error to manifest and the subject line to end up as: "Re: ". Explicitly setting the pager to `cat` when fetching the email subject in `mrep` prevents this error.
next prev parent reply other threads:[~2023-07-18 12:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 4:41 [PR PATCH] " Parasrah
2023-07-17 13:33 ` leahneukirchen
2023-07-18 4:11 ` Parasrah
2023-07-18 12:05 ` leahneukirchen [this message]
2023-07-18 12:05 ` leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230718120517.GObnuA7lEmfWXsgzo3PYtb7dlNUBz-F8x7CFK60xB0g@z \
--to=leahneukirchen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).