{"thread":{"id":"51569","subject":"cherry-pick merge commit with log message populated","startedAt":"2019-08-01T19:50:00Z","lastAt":"2019-08-02T15:17:46Z","messageCount":3,"participants":["Mateusz Loskot","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"379770","messageId":"CABUeae8EBzPSM1KrZTMiGj=6F3iyxeXXbqUNMf2p_LfPkqcfnA@mail.gmail.com","threadId":"51569","inReplyTo":null,"subject":"cherry-pick merge commit with log message populated","fromName":"Mateusz Loskot","fromEmail":"mateusz@loskot.net","sentAt":"2019-08-01T19:49:30Z","receivedAt":"2019-08-01T19:50:00Z","isPatch":false,"sender":{"key":"mateusz@loskot.net","avatar":"https://gravatar.com/avatar/fe5a0ce8995d4986f5c46aad6353e21717808da58e4bc710da1a100e247be239?d=mp&s=160"},"body":"Hi,\n\nWhen cherry-picking a merge with `cherry-pick -x -m 1 <SHA>`,\nis it possible to populate the log message with (short) log of all\ncommits that have been merged by the merge commit <SHA>?\n\nThe only workaround to copy the log messages along with\ncherry-picked changes is to always merge copying all log\nmessages of intermediate commits into merge commit message\nusing `git merge --log feature1`.\n\nIs there any other way, without remembering to `git merge` with `--log`?\n\nBest regards,\n-- \nMateusz Loskot, http://mateusz.loskot.net\n"},{"id":"379772","messageId":"xmqqr264my73.fsf@gitster-ct.c.googlers.com","threadId":"51569","inReplyTo":"CABUeae8EBzPSM1KrZTMiGj=6F3iyxeXXbqUNMf2p_LfPkqcfnA@mail.gmail.com","subject":"Re: cherry-pick merge commit with log message populated","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2019-08-01T20:24:00Z","receivedAt":"2019-08-01T20:24:08Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Mateusz Loskot <mateusz@loskot.net> writes:\n\n> Is there any other way, without remembering to `git merge` with `--log`?\n\n\"git config merge.log true\"?\n"},{"id":"379830","messageId":"20190802151742.bsxugrfxd6kxspfn@DEV747.cadcorp.net","threadId":"51569","inReplyTo":"xmqqr264my73.fsf@gitster-ct.c.googlers.com","subject":"Re: cherry-pick merge commit with log message populated","fromName":"Mateusz Loskot","fromEmail":"mateusz@loskot.net","sentAt":"2019-08-02T15:17:42Z","receivedAt":"2019-08-02T15:17:46Z","isPatch":false,"sender":{"key":"mateusz@loskot.net","avatar":"https://gravatar.com/avatar/fe5a0ce8995d4986f5c46aad6353e21717808da58e4bc710da1a100e247be239?d=mp&s=160"},"body":"On 19-08-01 13:24:00, Junio C Hamano wrote:\n>Mateusz Loskot <mateusz@loskot.net> writes:\n>\n>> Is there any other way, without remembering to `git merge` with `--log`?\n>\n>\"git config merge.log true\"?\n\nThat's sweet! Thank you\n\nBest regards,\n-- \nMateusz Loskot, http://mateusz.loskot.net\nFingerprint=C081 EA1B 4AFB 7C19 38BA  9C88 928D 7C2A BB2A C1F2\n"}]}