Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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
Ana Retamal Atlassian Team Aug 24, 2017

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?..



Ana Retamal Atlassian Team Aug 24, 2017

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 in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,388 views 127 26
Read article

Community Events

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

Events near you