Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Why does Sourcetree show line difference when there isn't one?

Looking at a changed file from my git repo in Sourcetree, it has some legitimate changes in it.  But when I compare versions of the file and look in the Sourcetree 'differences' pane, it is showing a line that (I believe) was unchanged.  It show a red -, and green + for the same line #23, with the same text, same number of spaces, etc:

Screen Shot 2019-10-02 at 11.43.18 AM.png 

I guess my question is: why is this marked as a "difference"?  Thanks for the help!

2 answers

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 02, 2019

Hi @jwright,

Welcome to the Atlassian Community.

It could be that there is a white space change on that line. You can set it to ignore white space by clicking on the cogwheel above the diff window.

Thanks @Mikael Sandberg for the prompt reply!  I thought it might be whitespace, but the two lines seem to have exactly the same number of characters and whitespace.  But, indeed, if I check the ignore whitespace option, the questionable lines disappear.  Thanks for the tip.  Still bothers me a little bit, but thanks!

i mee the same issue. i change nothing, but sourcetree show me one line different, the same as above picture

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events