11:33:44.714: [ui-entities-feature] git -c core.quotepath=false push --progress --porcelain origin refs/heads/feature/FRWKUIE-110-remove-the-country-field-from:feature/FRWKUIE-110-remove-the-country-field-from Counting objects: 29, done. Delta compression using up to 8 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (9/9), 698 bytes | 0 bytes/s, done. Total 9 (delta 4), reused 0 (delta 0) remote: Hook ca.bitbooster.impl.PreserveFirstParentHook failed. Error: [K remote: '/usr/bin/git rev-list --format=%H,%P#%B%x04 --topo-order f0347775a3c67269b62946a0bb4b4d863fe6bbe5..59489ed2881a668c726c7473da0c694cbfded8e5 ^master --' exited with code 128 saying: fatal: Invalid revision range f0347775a3c67269b62946a0bb4b4d863fe6bbe5[K error: failed to push some refs to 'https://firstname.lastname@example.org/git/scm/ui/ui-entities.git' To https://email@example.com/git/scm/ui/ui-entities.git ! refs/heads/feature/FRWKUIE-110-remove-the-country-field-from:refs/heads/feature/FRWKUIE-110-remove-the-country-field-from [remote rejected] (pre-receive hook declined) Done
Is it a known bug?
It could be related to Bitbucket Server's own current incompatibility with Git 2.11+. Notice this from the latest Bitbucket Server documentation:
Do NOT upgrade to Git 2.11+
Any version after Git 2.11.0 (including future 2.12+ releases) cannot be used with Bitbucket Server. Bitbucket Server 4.12 will fail on startup if Git 2.11+ is detected. Only upgrade to versions of Git which are explicitly marked supported on our Supported Platforms page.
BSERV-9388 - Pre-receive hooks and branch permissions reject valid pushes on git 2.11
The BSERV-9388 ticket itself contains some additional information:
Bitbucket Server 4.12 will fail on startup if Git 2.11+ is detected. However, older versions of Bitbucket Server (and Stash) are not aware of the 2.11 issues (since it was released after they were), but will still be broken by them. Administrators are strongly encouraged to only upgrade to Git versions which are explicitly marked supported on ourSupported Platforms for the version of the product they're running.
I've tried to reproduce this based on what you posted, but I can't. A few questions:
You said you're using git 2.11 in this question, but I'd like to know if that's client or server or both.
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
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!
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