Forums

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

Bitbucket shows diff in pull request for un-changed code

Akilesh DS May 8, 2019

Hello,

In Bitbucket Diff view, I can see that Bitbucket detects code changes for code that was never changed.

When I committed my changes I did not see this diff. But Bitbucket detected some diffs. Do we have an explanation for this issue? Is there something I need to do to get rid of these unusual diffs? Thanks!

2019-05-03_11h53_38.png

1 answer

0 votes
Kristy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

Hi @Akilesh DS

Is it possible that you have whitespace changes? Can you please try turning on the 'ignore whitespace changes' setting in the diff to see if that affects what you see?

Screen Shot 2019-05-10 at 6.49.06 am.png

Does the unified diff also show these lines as removed and added? Also, what version of Bitbucket Server are you running?

Regards,
Kristy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events