diff options
author | Xinglu Chen <public@yoctocell.xyz> | 2021-06-09 15:52:43 +0200 |
---|---|---|
committer | Xinglu Chen <public@yoctocell.xyz> | 2021-06-09 15:56:35 +0200 |
commit | 8869449d81bf881f18dc23fb2055feb242b6ef23 (patch) | |
tree | 54eb7d3c2a9edb38f9ddca67e811557d1d433b03 /git-email-piem.el | |
parent | 78faa0b14eea70d00151972e984b2ddba7d4732d (diff) |
git-email: Add function to extract multi-line subjects.
‘git-format-patch’ adds a newline in the subject if it is too long, if
we just use ‘git-email--extract-header’, part of the subject is going
to be cut off.
Subject: [PATCH] services: configuration: Show default value when it is a
package.
* git-email.el (git-email-subject-regexp): New variable.
(git-email--extract-subject): New function.
(git-email--extract-header): Use it.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
Diffstat (limited to 'git-email-piem.el')
0 files changed, 0 insertions, 0 deletions