diff options
author | Jani Nikula <jani@nikula.org> | 2011-12-27 18:04:39 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-28 08:18:27 -0400 |
commit | f893d317624d2651fef4a2f6c2d68c32ac1e6fa6 (patch) | |
tree | 40c70ad4a541f410bb6fdbd92b1981a4d7dc09e7 /test | |
parent | d5d39a92f1d2c38f2813bb9aa2fbffa2a450b549 (diff) |
emacs: create patch filename from subject for inline patch fake parts
Use the mail subject line for creating a descriptive filename for the wash
generated inline patch fake parts. The names are similar to the ones
created by 'git format-patch'.
If the user has notmuch-wash-convert-inline-patch-to-part hook enabled in
notmuch-show-insert-text/plain-hook, this will change the old default
filename of "inline patch" in fake parts:
[ inline patch: inline patch (as text/x-diff) ]
into, for example:
[ 0002-emacs-create-patch-filename-from-subject-for-inline.patch: inline patch (as text/x-diff) ]
which is typically the same filename the sender had if he was using 'git
format-patch' and 'git send-email'.
Signed-off-by: Jani Nikula <jani@nikula.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions