I have a large XML file stored in Git (GitHub) repo.
[user@host tools]$ ls -lh somefile.xml
-rw-r--r-- 1 user users 1.6M Jul 19 17:25 somefile.xml
[user@host tools]$ file somefile.xml
somefile.xml: XML document, UTF-8 Unicode text, with very long lines
By default SourceTree for Windows is not showing diff for this file in any commit.
It shows a message "No changes in this file have been detected, or it is a binary file".
But when I go to Options / Diff and change Size Limit (Text) from the default 1024KB to something larger than the above file size (ie. 10240KB) then it shows the diff correctly.
The default error message shown for this file is misleading, because it not a binary nor an unchanged file. SourceTree should warn that this file is too large to show a diff using current settings. Also it should correctly detect UTF-8 files, if it makes any problems for Git.
I'm using SourceTree 18.104.22.168 on Windows 7, with NTFS filesystem.