Environment:
- Mac OS X 10.11.6
- Sublime Merge (Build 1055)
Steps to reproduce:
- download php-7.2.10
- git init & add all files
- Sublime Merge shows 47 unstaged files
Screenshot:
Environment:
Steps to reproduce:
Screenshot:
Thanks for your report, however I was unable to replicate the issue. The steps I followed:
Sublime Merge showed no modified files for me after doing the above. I did this on build 1058, but had earlier tried on 1055 and didnât see it then either.
This is on a MacBook Pro running 10.13.4, using the APFS file system.
From your screenshot, it looks to be a unicode normalisation issue. MacOS has different normalisation rules depending on the type of file system itâs working with. Itâd be great if you could confirm the type of FS youâre using (âSystem Reportâ from the system About box should have this), and what your git core.precomposeunicode setting is (i.e., git config core.precomposeunicode
)
it looks to be a unicode normalisation issue
Yes, I can confirm this issue is related to Unicode normalization.
I can easily reproduce this issue with some decomposable Japanese filename.
type of FS youâre using
Journaled HFS+
what your git core.precomposeunicode setting is
I have not manually changed this setting on my machine/repo before.
I created a new empty repo with a single file named ă inside, and tested stage/unstage this file in different settings.
With core.precomposeUnicode = true: (default)
Command line git works as expected.
GitUp works as expected.
Sublime Merge does not work.
With core.precomposeUnicode = false:
Command line git cannot find the filename I specified. I am not sure how to pass a pathspec in quoted form.
GitUp works as expected.
Sublime Merge works as expected.
It seems that Sublime Merge assumes a decomposed Unicode normalization?
Iâm seeing the same issue, and itâs definitely unicode normalization. These files are not modified in any way and therefore should not show up here. Other Git clients are able to handle these files correctly (Tower, GitUp, Sourcetree).
Environment:
I believe that this should potentially be resolved in dev build 1059; the changelog is:
- Added support for core.filemode
Currently dev builds are for licensed users only, but @jps mentioned in the following post that this restriction will be lifted for a while in the next dev build.
Thanks for the reports.
Support for core.precomposedunicode was added in 1059 (a dev build). Itâll be available in a stable build later this week.