git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can git send-email support neomutt?
@ 2022-11-05 15:46 Wu Zhenyu
  2022-11-05 18:10 ` brian m. carlson
  0 siblings, 1 reply; 5+ messages in thread
From: Wu Zhenyu @ 2022-11-05 15:46 UTC (permalink / raw)
  To: git

Excuse me.

I want to use neomutt as git send-email's cmd:

```
[sendemail]
	sendmailCmd = neomutt
```

However, I notice

```
my @sendmail_parameters = ('-i', @recipients);
...
exec ("sh", "-c", "$sendmail_cmd \"\$@\"", "-", @sendmail_parameters)
```

It call `neomutt -i to@email from@email`, which is an incorrect cmd for neomutt.

Can we customize sendmail-cmd more flexible? Like

```
[sendemail]
	sendmailCmd = neomutt %{to}
```

call `neomutt to@email.com`.

Thanks!

-- 
Best Regards
Wu Zhenyu

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-06 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05 15:46 Can git send-email support neomutt? Wu Zhenyu
2022-11-05 18:10 ` brian m. carlson
2022-11-06  9:02   ` Wu Zhenyu
     [not found]   ` <20221106085820.m53mwajd5yfsyri4@desktop>
2022-11-06  9:14     ` brian m. carlson
2022-11-06 10:17       ` Wu Zhenyu

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).