Next: , Previous: , Up: piem   [Contents][Index]

3 Applying patches

With piem-inboxes configured and appropriate integration libraries enabled, a buffer that can be linked to an inbox can be mapped to a code repository. When reading a message in a notmuch-show-mode buffer, for example, the list ID can be used to identify the inbox and thus the associated local code repository.

There are two commands for applying patches:


This command tries to extract a patch from the current Notmuch or Gnus message buffer and can handle an inline patch as well as one or more patch attachments.


This command relies on the b4 command-line tool to do more sophisticated processing of the full thread (e.g., pulling out the latest reroll of a series) to generate an mbox that can be fed to git am. It is only compatible with inline patches.