What is gitpatch
Gitpatch is git-format patch toolkit, which let user easy handle git-format patch without exit Emacs.
-
Send patch with `gitpatch-mail'
`gitpatch-mail' can quick send a git-format patch file from magit, dired or ibuffer buffer.
Installation
- Config melpa source, please read: http://melpa.org/#/getting-started
- M-x package-install RET gitpatch RET
Configure
(require 'gitpatch)
(setq gitpatch-mail-attach-patch-key "C-c i")
Usage
gitpatch-mail
- Move the point to the patch-name in magit-status, dired or ibuffer buffer.
- M-x gitpatch-mail
- Select an email address as TO Field, if you set `gitpatch-mail-database'.
- Add another patch with "C-c i" by default (Optional).
- Edit and send email.
NOTE: User can config `gitpatch-mail' in other type buffer with the help of `gitpatch-mail-get-patch-functions'
Converted from gitpatch.el by el2org .