SourceTree for Mac which I'm using with my AS3 project do not track changes in class files. More accurately speaking, it treats them more like a single line of code rather than a sequence of lines. So, when I change something, version control shows that the whole file has changed. It doesn't happen in all AS3 projects, but in some of them, so I'm guessing it has something to do with project Git settings.
How can I fix this?