Bitbucket can not create merge diff or merge Edited

We're using the Gitflow Workflow and have migrated from a Mercurial repo (where we were using the same workflow).

Between the previous release and this, we did some management of a third-party library, previously cloned from git (when we were using Mercurial). Not entirely sure about this part, but I believe as part of the conversion, the .git-folder in the library was deleted.

Now, I created a pull request to merge our release branch (which does not have the .git folder) with the master branch (which has the .git folder). Bitbucket Server says "Bitbucket Server could not create the merge diff for this pull request"

The merge button is available, and if I try to perform a merge I get

'/usr/bin/git reset --quiet 4d5ac1b2a903ab1cd371c2fb39dc87fca107fdfa --' exited with code 128 saying: error: Invalid path 'vendor/CException/.git/HEAD' fatal: make_cache_entry failed for path 'vendor/CException/.git/HEAD'

I can however merge locally on my machine.

Any ideas on how to resolve this?

0 answers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

116 views 6 3
Join discussion

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