I am new to Sourcetree but are used to using git for many years. Some of my files have German umlauts so that I need to enable
[core] precomposeunicode = true
in my global .gitconfig file. Is it somehow possible to enable the same feature within Sourcetree?
Many thanks for your help in advance.
Many people using SourceTree deal with umlauts by using the core.quotepath Git setting. Here's a short article: http://blog.fealdia.org/2010/01/16/git-status-utf-8-umlaut-tip/
Sorry, I answered incorrectly. We don't plan on supporting this feature as it's too esoteric. If you set it in the .gitconfig then it should work fine.
Hope that helps
Despite Kieran's answer, I have confirmed SourceTree will display the status correctly when using an appropriate version of Git.
SourceTree version 18.104.22.168 comes with Git version 22.214.171.124 embedded. This apparently doesn't support the
precomposeunicode property. So you must install a newer version of Git on your system and have SourceTree use that instead of the embedded version.
To change the version of Git being used, just go to Preferences, click the Git tab, and then click the "Use System Git" button. Select the git binary and you should be good to go. You may have to restart SourceTree.
I have confirmed it works with Git version 1.8.2. I should note I have yet to test this extensively, but the status at least is displayed correctly.
Hopefully SourceTree will someday embed a newer version of Git.
(As an aside, I have been unable to find in which version of Git this property was added, so I cannot say what the minimum Git version is.)
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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 ...
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!
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