merge: allow --log to append shortlog to -m
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | t7604-merge-custom-message: shift expected output creationt/ | +8 | 0 replies | |
| 2/8 | t7604-merge-custom-message: show that --log doesn't append to -mt/ | +12 | 0 replies | |
| 3/8 | merge: update commentbuiltin/ | +1 | 0 replies | |
| 4/8 | merge: rename variablebuiltin/ | +3 | 0 replies | |
| 5/8 | fmt-merge-msg: minor refactor of fmt_merge_msg()builtin/ | +6 | 0 replies | |
| 6/8 | fmt-merge-msg: refactor merge title formattingbuiltin/ | +36 | 0 replies | |
| 7/8 | fmt-merge-msg: add function to append shortlog onlybuiltin.h builtin/ | +10 | 0 replies | |
| 8/8 | merge: --log appends shortlog to message if specifiedDocumentation/ builtin/ builtin/ +1 more | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] merge: allow --log to append shortlog to -m
Previously, --log didn't have any effect if a message was specified with -m. This allows one to create commit messages like:
Merge in new feature
* commit c2:
c2's message
Contents:
[PATCH 1/8] t7604-merge-custom-message: shift expected output creation [PATCH 2/8] t7604-merge-custom-message: show that --log doesn't append to -m [PATCH 3/8] merge: update comment
[PATCH 4/8] merge: rename variable
[PATCH 5/8] fmt-merge-msg: minor refactor of fmt_merge_msg() [PATCH 6/8] fmt-merge-msg: refactor merge title formatting [PATCH 7/8] fmt-merge-msg: add function to append shortlog only [PATCH 8/8] merge: --log appends shortlog to message if specified
Documentation/git-merge.txt | 7 +++- builtin.h | 1 + builtin/fmt-merge-msg.c | 76 ++++++++++++++++++++++++-------------- builtin/merge.c | 20 ++++++---- t/t7604-merge-custom-message.sh | 24 ++++++++++-- 5 files changed, 87 insertions(+), 41 deletions(-)