Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why does SourceTree treat Localizable.strings files as binaries; they're not!

ssteinerx July 16, 2015

This makes updating a localization that much more annoying. 

Can ST be configured to treat certain file types as text?

Why is this the default?

 Thanks,

S

2 answers

1 vote
Josh Snelling September 5, 2016

Adapting the Git configuration to treat UTF-16 encoded strings file as text does the trick for command-line diffs as well as when viewing pre-commit diffs in SourceTree (when viewing "Uncommitted changes"). However, it's not working when viewing committed changes. Based on this behavior, this doesn't appear to be Git problem.

Does anyone know why SourceTree can show pre-commit diffs but bails on committed changes?

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2015

I think you might be looking for this: http://stackoverflow.com/questions/14990993/override-gits-choice-of-binary-file-to-text (As far as I know, you need to make Git understand this, not SourceTree.)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events