DOKK / manpages / debian 11 / mailscripts / notmuch-import-patch.1.en
notmuch-import-patch(1) User Commands notmuch-import-patch(1)

notmuch-import-patch - import a git patch series into notmuch

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

notmuch-import-patch is a wrapper around maildir-import-patch(1) for users of notmuch. It generates a patch series using git-format-patch(1), and then imports the series into your notmuch database as an e-mail thread, one message per patch.

See "EXAMPLE" in maildir-import-patch(1), replacing the call to maildir-import-patch with a call to notmuch-import-patch.

notmuch-import-patch tries to read configuration from the file $XDG_CONFIG_HOME/mailscripts/notmuch-import-patch, or if XDG_CONFIG_HOME is not set, it falls back to trying to read ~/.config/mailscripts/notmuch-import-patch.

The format is key = value, one per line. The following configuration key is supported:

The full path to a maildir indexed by notmuch into which notmuch-import-patch will insert patches. Defaults to the "patches" subdirectory of the database.path key in your notmuch configuration.

notmuch(1), maildir-import-patch(1), git-format-patch(1), git-send-email(1)

notmuch-import-patch was written by Sean Whitton <spwhitton@spwhitton.name>.

Debian Project perl v5.32.0