Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,480
Community Members
 
Community Events
184
Community Groups

Pull Requests showing empty diffs

Lately Pull-Request-View is showing files as "empty diff" on the left while correctly reporting the number of added / removed lines in the files tree.

Same problem in "old" Pull Request view.

 

Is this a known Bitbucket Bug? Is there a workaround to get the correct diff?

bug.png

9 answers

6 votes
Ionut
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!
Mar 29, 2023 • edited Apr 04, 2023

I've started to have this problem too since today.

In my case I couldn't see the diff in any pull request, even older pull requests that were already merged.

In my case I saw that I can't see the diff as long as I have the "TikTok Pixel Helper" browser extension is enabled.

I'm not sure why it stopped working today, because I've installed that extension a few months ago.

As long as I keep that extension disabled I can se the diff.

So check your browser extensions, maybe there are other that can break displaying the diff.

 

Edited:

As @natashabates suggests below another solution is to set "This can read and change site data" to "When you click the extension" for the "TikTok Pixel Helper" extension.

Tammy Keefer
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!
Mar 30, 2023

Same.  Disabling the TikTok Pixel Helper extension solved my problem.  So thank you!  If that extension isn't your problem, I was also able to see the diffs if I was in an incognito window.

Amazing thanks @Ionut - I would never have worked that out.  But I was having the exact same issue - everything worked fine yesterday but today I was just getting:

Empty diff

The diff for this file is empty.

 

Disabled the Chrome TikTok Pixel Helper, and now works fine again!  So odd, but thank you! 

Sajid Iqbal
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!
Apr 03, 2023

Pretty unusual but this helped. thanks @Ionut

Thank you for finding the solution! I changed the plugin to only read & change site data when clicked and it's resolved my issue.

Like Ionut likes this
Ionut
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!
Apr 04, 2023

That's also a good solution @natashabates  .

I'll update my answer to suggest that too.

Thanks.

Like natashabates likes this

Thanks, lot. 

 

Disable Tiktok pixel extension worked for me also. yeeahhhh 👍👍

Kiran Kumar
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!
Apr 10, 2023 • edited

Thank you... Even for me disabling the Tiktok pixel extension worked fine... smile

João André Simiquelli
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!
May 09, 2023

Thank you so much!

For anyone who has this problem in the future and ends up here, one possible cause (and what happened in my case), is that the PR has whitespace-only diff in the file, and my "PR Viewing Preferences" were set to not show whitespace changes. Changing it to show whitespace changes fixed the problem

djordje.milojevic
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!
Feb 21, 2023

This doesn't seem to be the fix, the file i have issue with is .gitkeep which is empty by default, and no matter what it always stays there with the empty diff. 

I am also facing the same issue.

 

Ctrl + shft + r didn't solve the issue for me.

Ditto - this is happening repeatedly. We can sometimes decline the PR and try again but now we're seeing it over and over on the same changes.

As of today, we also have this problem. Hard reloading or another browser (Firefox, Safari, Chrome) doesn't fix it. Very frustrating.

How did you eventually fix this then

Deleting the bad PR and re-creating it works for me when this happens.

Like pradipta likes this

The other half of this problem is that bitbucket won't allow me to merge the PR. The commits are there, and shows the diff on the commit, but the PR interface is broken.

I am also getting this same error "Empty Diff".  


Any ideas to root cause / fix?

Screen Shot 2020-06-07 at 1.51.48 PM.png

It was failing me with Chrome, too. But with Firefox I was going fine.

I also checked that when I went to see a commit from the PR, the display worked correctly again when I came back.

Suddenly facing this right now. Don't even know why it happens. My colleagues could view the PR correctly but I can not

I too faced the same issue , hard reloading(cmd+shift+R) the page worked for me.

Like # people like this

Wow. Thanks @Bhanu Prakash Vejju 
Worked for me. Ctrl + shift + R on Linux

We faced the same issue.
Is there any decision?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events