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,553,465
Community Members
 
Community Events
184
Community Groups

Binary file cannot be viewed in diff

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

A few lines of binary content are in a plain text file that is useless. (But I don't want to remove it). 

Is there any way that I can compare plain text files with binary info in the diff view?

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 04, 2023

G'day!

Welcome to the Bitbucket Cloud community! :)

So that we may assist you further, can you please clarify what is meant by "compare plain text files with binary info"?

The purpose of diff is to show the difference between two files, so if there are changes made in a plaintext file - you should be able to view any content of that plaintext file from within this view. May you share a screenshot?

Cheers!

- Ben (Bitbucket Cloud Support)

HNA-EXTERNAL
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 05, 2023

This is a original file view in notepad++. Just the last is binary. And other lines are text.

1.png

If I upload that original file, view of commit diff is like below a picture.

3.png

 

 

And if I upload a modified file that is removed binary line, view of commit diff is like below a picture.

2.png

The binary line is useless for me, so, I want just bitbucket recognizing that original file as text. As a result, I want to see like below picture.(In vscode git-diff extentions)

4.png

(Red line is text diff view of binary data, and it is useless binary diff view, but it's not a problem because that line is also useless infomation to me. 

 

I want to see diff view like last one.

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 11, 2023

Hey,

Sorry for the delay. Just to clarify - you are viewing the diff for a file with the .fac extension that contains binary data which is not being formatted properly in the diff view within Bitbucket Cloud, correct?

Cheers!

- Ben (Bitbucket Cloud Support)

  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events