We use https://bitbucket.org/atlassianlabs/bitbucket-submodule-safe-hook heavily to prevent people from pushing a master when they haven't pushed changed submodules yet.
Unfortunately it seems this hook has stopped working in bitbucket-server 4.14.5 and git 2.11.1, all pushes are now rejected.
Is there someone with enough java knowledge to see if this can be fixed somehow?
I've also filed https://getsupport.atlassian.com/servicedesk/customer/portal/24/SSP-22333
@Robbin Bonthond I'm curious where you are today with this functionality? Do you know, is there some version of this hook that is working for you with a modern Bitbucket? We're using Bitbucket SErver 6.10.1 now and I'm looking into adding this protection.
Also, related is this feature request you may want to vote on: https://jira.atlassian.com/browse/BSERV-9660.