v2:
- Enhance mailinfo to parse patch series id from subject
- Detect cover using mailinfo parsed ids in git am
- Support multiple patch series in a single run
TODO:
- Add doc/comments
- Add tests
- Add a new "seperator" at the end of a cover letter.
Right now I added a triple dash to all cover letter (manual or cover-at-tip) before shortlog/diff stat
This allows manually written cover letters to be handle by git am --cover-at-tip without including the shortlog/diffstat but
breaks compat with older git am as it is seen has a malformed patch. A new separator would solve that.
Note: Cover letter automatically generated with --cover-at-tip ;)
Signed-off-by: Nicolas Morey-Chaisemartin <nicolas@morey-chaisemartin.com>
---
Nicolas Morey-Chaisemartin (3):
mailinfo: extract patch series id
am: semi working --cover-at-tip
log: add an option to generate cover letter from a branch tip
Documentation/git-format-patch.txt | 4 ++
builtin/am.c | 143 ++++++++++++++++++++++++++++++++-----
builtin/log.c | 44 +++++++++---
mailinfo.c | 35 +++++++++
mailinfo.h | 2 +
5 files changed, 201 insertions(+), 27 deletions(-)