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,556,869
Community Members
 
Community Events
184
Community Groups

Sourcetree white spaces between every letter

in some files in my project, white spaces are added everywhere in the diff preview.

I suspect it breaks my commits.

Someone has a clue on how to fix it?

whitespaces.png

1 answer

1 accepted

1 vote
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2019

Hello! This is probably due to a text-encoding error (note the small 'CR' characters -- those are depreciated mac OS classic line-endings).

 

Could you check the file encoding and line-ending settings used for those files?

 

Additionally, if you run `git diff FILE_NAME` in the terminal does the result also look like that for the file?

The bad files encoding was UCS-2 LE BOM in contrast to all other files encoding which is UTF-8 BOM.

changing the encoding didn't help.

when I run "git diff FILE_NAME" after changing the file encoding I see a lot of gibberish letters in red (basicaly the entire file) and afterwards the entire file, now readable, in green letters.

eventually, the solution was to change the encoding of the files to utf-8.

Thanks! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events