Unable to detect changes in asmx.vb file in the latest release


I've upgraded SourceTree to the version and noticed that it shows me "No changes in this file have been detected, or it is a binary file" on my asmx.vb files (Visual Basic.Net Web Service).

Why is that? Is anything committing?

Best regards,


1 answer

1 accepted

1 vote
Answer accepted

Hi Oleg, I can think of 2 reasons for this to be happening: the file is too big or Git is not detecting it as a text file: 

  1. Go to Options > Diff and change Size Limit (Text) from the default 1024KB to something larger than the above file size (ie. 10240KB) the diff should show correctly correctly. Is the error message still appearing from you? For this case, we have a Feature request to improve the message shown as it's not a binary nor an unchanged file. You can fnd it at SRCTREEWIN-7627.
  2. Git is not recognising it as a text file. This normally happens because the file is being saved as something other than UTF-8 (UCS-4, UTF-16, or UTF-32) and that is not text in the eyes of Git. To fix this, you can add a .gitattributes file to your repository root folder and explicitly specify that .vb should be text, not binary file. For more information you can read Git attributes and Customizing Git-Attributes. This has also been reported in our tracking system at SRCTREEWIN-5485.

Let us know if this helped you!



Thanks Ana! It was a file size that went up to 1030KB.

It would be nice though to see that in the message instead. Shouldn't be too hard to implement?..



I'm glad I could help you, Oleg! Please make sure to vote for the feature request to increase it's popularity. Features are implemented based on our Implementation of new features policy.

Have a nice day :)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,233 views 4 2
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