Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

How can I stage hunks on a UTF-8 file with BOM?


I have a bunch of files that are UTF-8 with BOM. Not sure whether it matters, but they have file extension .rdl

I have added

*.rdl diff

To my .gitattributes file and restarted SourceTree to no avail.

Diff pane says "No changes in this file have been detected, or it is a binary file".


2 answers

1 accepted

0 votes
Answer accepted

I updated my SourceTree to and the issue has been fixed.

0 votes
minnsey Atlassian Team May 18, 2018


I've not been able to reproduce the problem, are you able to attach a file that exhibits the problem?

Thanks, I updated my SourceTree to confirm and it works now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,105 views 5 13
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