Support for precomposeunicode = true?

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

2 answers

1 accepted

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

That's great news! Is there an issue on jira.atlassian.com I can watch?

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?

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.)

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.

Looks like this didn't make SourceTree 1.6.3.1. Any ETA?

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.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

572 views 1 2
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you