cherry-pick merge commit with log message populated
- From
Mateusz Loskot <mateusz@loskot.net>
- Date
- Aug 1, 2019, 19:49 UTC
- Message-ID
- <CABUeae8EBzPSM1KrZTMiGj=6F3iyxeXXbqUNMf2p_LfPkqcfnA@mail.gmail.com>
Hi,
When cherry-picking a merge with `cherry-pick -x -m 1 <SHA>`, is it possible to populate the log message with (short) log of all commits that have been merged by the merge commit <SHA>?
The only workaround to copy the log messages along with cherry-picked changes is to always merge copying all log messages of intermediate commits into merge commit message using `git merge --log feature1`.
Is there any other way, without remembering to `git merge` with `--log`?
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net