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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

change is different than real file changes

Hi, how you can see in the image below, i have edited a javascript file, but source tree show me that I have edited that line 0 that I haven't touched, I have make another changes in the file, someone can tell me why I have this problem?



Schermata 2016-12-30 alle 15.22.59.png

2 answers

Well, does the file in your working copy start with "define([" or with "'backbone',"? Chances are you somehow deleted the first line by accident.

this is my code:

Schermata 2016-12-30 alle 16.09.43.png


I haven't changed nothing in the first line, I have changed a line at line 197, so a lot below than that line, and that change on line 197 doesn't appear in the changes

Yeah, looks like some sort of bug - obviously you haven't deleted the define line.

What if you run a git diff command in the terminal?

Are you 100% sure the file you have open is saved in the same location that sourcetree is looking at?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

5,203 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you