You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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 2.1.2.5 on Windows 7, with NTFS filesystem.
Hi Przemyslaw, I've created a Feature request on your behalf to improve the messaging shown in this case, you can find it at SRCTREEWIN-7627.
For the future, you're welcome to submit your own suggestions at jira.atlassian.com by clicking on the Create button
Hope this helps!
Ana
is this fixed? Because, after I take an update ..i still see this issue... if not is there any timeline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This does not seem to be fixed in Sourcetree 3.0.8. I am getting the message for a 1 MB JSON file:
No changes in this file have been detected, or it is a binary file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, figured out that this can be fixed by increasing the size limit in the Diff tab of the options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Increasing the size allowed for a Diff was the exact solution I was looking for. I was wondering why Git Diff would work but SourceTree Diff kept treating the file as binary!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This does not seem to be fixed in Sourcetree 3.0.8. I am getting the message for a 1 MB JSON file:
No changes in this file have been detected, or it is a binary file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I re-posted this as a reply to Ana's answer. Deleting this answer does not seem to be possible for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.