Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you configure BitBucket's diff viewer?

Camille Lewis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2020

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

0 votes
Helder Magalhães May 3, 2022

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
TAGS
AUG Leaders

Atlassian Community Events