]> git.notmuchmail.org Git - notmuch/commit
notmuch-mutt: replace shell pipeline with internal pipe processing
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 27 Jul 2020 19:38:33 +0000 (22:38 +0300)
committerDavid Bremner <david@tethera.net>
Wed, 12 Aug 2020 23:40:46 +0000 (20:40 -0300)
commit0d4a3c71850f6440f33b10ebfd2c798611bffdcb
tree353a5f345b7722969cbb5a31ff115c966b98d49f
parent00dc5dd82435f9130df771dd3b9ac54283bdd495
notmuch-mutt: replace shell pipeline with internal pipe processing

The shell pipeline used to symlink files based in search results
to "cache" directory for mutt(1) to use was prone to portability
problems (due to /bin/sh differences).

The replacement executes `notmuch search` without intermediate shell
(so shell_quote was removed in this case), reads the filenames from
piped output and symlinks files internally.
contrib/notmuch-mutt/notmuch-mutt