notmuch-import-patch(1)
β¨ 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:
- It generates a patch series using
git-format-patch(1). - 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 wherenotmuch-import-patchwill insert patches. It defaults to the"patches"subdirectory of thedatabase.pathkey 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
- debian trixie: mailscripts 30-2
- ubuntu questing: mailscripts 30-2
- ubuntu resolute: mailscripts 30-2build1
- ubuntu stonking: mailscripts 31-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms