Commit to 5.1 does not include "HHH-10964" in the commit message.
Commit is: https://github.com/hibernate/hibernate-orm/commit/4649f5fa913661c0196f06b084d25e7eb5a7ff38
The commit message for 5.0 includes "HHH-10964" in the commit message.