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 22.214.171.124 on Windows 7, with NTFS filesystem.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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