Bitbucket diff setting


We run Bitbucket server locally.  In BitBucket we can see a diff for commits and pull requests. Sometimes we change a line but Bitbucket's diff thinks we deleted the line and rewrote it.  This appears to happen when the number of changes in the line are larger than some threshold.  What we really want to see are the actual differences within the line.  Is there a way to configure Bitbucket's diff to show us all the character changes rather than a whole line deletion/addition?  Is there, perhaps, some preference in the server-config-properties file we can twiddle to make this work?


1 answer

This widget could not be displayed.

Hi Edward,

This is expected because of how Git works as well when running git diff in the command line. Look into add-ons there maybe one that does this.

Thanks Edwin!  I played with the 'git diff' options a bit and I was able to get that command to show more granularity by using the one of its flags.  I was curious if BitBucket runs 'git diff' under the hood and if there is a way to configure the 'git diff' options that BitBucket is using.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,207 views 8 11
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