This will validate Tree-SHA512s in merge commits if verify-commits.sh is called with --tree-checks as a second arg (eg verify-commits.sh upstream/master --tree-checks), as added by #9871. Note that I think we need to fix handling of symlinks in #9871 first.
Additionally, it disables sha1 for signature checking.
Due to some SHA1s in folks' selfsigs, the second part currently fails (@MarcoFalke, @sipa, @jonasschnelli.....)