Hi,
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.
best regards,
Matthias
Hi Matthias,
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/
EDIT:
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
Hey Daniel,
Speak of the devil, I'm literally doing it right now. Expect it in 1.6.3 which I'll release as soon as possible (over the next week or so)
Hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wouldn't consider this feature to be esoteric. But I don't think SourceTree needs to do anything aside from having a newer version of Git embedded.
Any plans to upgrade the embedded Git version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Despite Kieran's answer, I have confirmed SourceTree will display the status correctly when using an appropriate version of Git.
SourceTree version 1.6.2.2 comes with Git version 1.7.11.1 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.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup, we're upgrading our embedded Git version for 1.6.3 which should be out over the next week or so. I need to do some further testing to ensure it's OK, however, but I can't imagine there being any problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately there wasn't enough time for a decent set of integration tests so we'll be holding off for a while yet. In the meantime you can still use system Git and make sure your system version is updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.