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

Hi,

I've upgraded SourceTree to the version 2.1.11.0 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,

Oleg

1 answer

1 accepted

0 vote

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!

Cheers,

Ana

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

Cheers,

Oleg

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 :)

Ana

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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