The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Bitbucket diff setting

Edward Audi
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!
January 11, 2018

Howdy,

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 15, 2018

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.

Edward Audi
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!
January 16, 2018

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.

Like # people like this
TAGS
AUG Leaders

Atlassian Community Events