stash hook to prevent unpushed submodules

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

1 comment

this seemed related to upgrading from git 2.10.0 to git 2.11.1, downgrading git makes these hooks working again.

Comment

Log in or Sign up to comment
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

258 views 3 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you