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

coxymla May 16, 2018

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
coxymla May 20, 2018

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

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2018

Hi

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

coxymla May 20, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events