notmuch-import-patch(1)

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

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

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

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

CONFIGURATION
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:

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

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

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