It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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!

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

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

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 12
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