Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can you configure BitBucket's diff viewer?

I would like to use Git/BitBucket for version controlling some of my .docx files.  Out of the box, Git does not play well with binary files, however, with a tool like Pandoc it can be configured to be able to show .docx file diffs in a not too ugly manner.

Can BitBucket be configured to use Pandoc in it's commit diff and pull request viewers?

If Pandoc was installed on the server and the repository's .gitattributes was set to use it for .docx file diffs, would BitBucket be able to view .docx diffs by default?

1 answer

Late in the game; nevertheless, according to BCLOUD-13292:

As of Sept 14, 2016, Bitbucket does not support .gitattributes diff in regards to being able to diff text files that git detects as binary

So apparently not. Still note that this refers to Bitbucket Cloud; status of Bitbucket Server may be different (but no specific references were found).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,115 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you