On 04/27/2016 11:04 PM, Tom Lane wrote:
>> There is no value in providing exact message matches when the backpatch
>> occurs even after one other commit in the master branch.
>
> Actually, git_changelog can merge identically-messaged commits despite
> intervening commits. It's set up to not merge commits more than 24 hours
> apart, though. We could loosen that requirement but I'm afraid it would
> make things confusing to merge far-apart commits.
ISTM that git_changelog should be looking at the AuthorDate instead of
the CommitDate. Then it would work correctly for backpatches done using
cherry-pick.