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 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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events