Why won't SourceTree display differences for certain non-binary files?

I'm working on a project that contains .cfg and .txt files among other file types, when a file of either of these types is changed locally and is selected in SourceTree's File Status tab or a file is selected in the Log/History diff viewer the blue loading wheel will spin endlessly never showing the file. I've tried saving the files with several different encoding types but they won't show up in either of these places, thanks.

1 answer

This widget could not be displayed.

Hi

 

Is it possible the files are Unicode/UTF encoded? Git only diffs ASCII files.

Hi Michael, pretty sure every file is encoded with UTF-8. I've gone through and saved them all as UTF-8 with Notepad++ and the when I change the files others still work and the cfg and txt files do not.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

876 views 2 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you