notmuch-import-patch(1)

πŸ“¦
version 31 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

notmuch-import-patch β€” bestie, this one takes a git patch series and yeets it straight into notmuch πŸ’Œ


πŸ¦‹ SYNOPSIS πŸ¦‹

notmuch-import-patch [git-format-patch(1) args]

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: notmuch-import-patch is a lil wrapper around maildir-import-patch(1) made specifically for the notmuch girlies. πŸŽ€

Here's the pipeline, no cap:

  1. It generates a patch series using git-format-patch(1).
  2. Then it imports that whole series into your notmuch database as an e-mail thread β€” one message per patch, periodt. πŸ‘‘

🌸 EXAMPLE 🌸

Sis, go look at "EXAMPLE" in maildir-import-patch(1) β€” same energy, same everything. The only glow-up is that you swap out the call to maildir-import-patch for a call to notmuch-import-patch instead. Literally that's it. 🫢


πŸŽ€ CONFIGURATION πŸŽ€

notmuch-import-patch tries to read its config from this file:

$XDG_CONFIG_HOME/mailscripts/notmuch-import-patch

and if XDG_CONFIG_HOME isn't set, it falls back to trying:

~/.config/mailscripts/notmuch-import-patch

The format is key = value, one per line. So like, very demure, very minimal. 🧚

The following configuration key is supported:

  • maildir β€” the full path to a maildir that's indexed by notmuch, and it's the spot where notmuch-import-patch will insert patches. It defaults to the "patches" subdirectory of the database.path key in your notmuch configuration. πŸ’–

πŸ’œ SEE ALSO πŸ’œ


🌈 AUTHOR 🌈

notmuch-import-patch was written by Sean Whitton <spwhitton@spwhitton.name>. iconic behavior honestly πŸ‘‘


k that's the whole page bestie, go forth and import those patches πŸ’– this manual page came to you courtesy of perl v5.40.1 and the Debian Project β€” mwah, stan them, byeee πŸ¦‹βœ¨

πŸ“¦ where this page comes from