-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Highest
-
Affects Version/s: 2.0.20.1
-
Component/s: None
-
None
-
Environment:
Windows 10 64-bit, embedded git 2.11.0
-
Severity 1 - Critical
When opening git repository with submodules SourceTree crashes. The resulting path to submodule .git folder is 280 symbols. Unfortunately there's no way to shorten this path.
The crash is caused by the fact that SourceTree 2.0 is now using libgit2 internally for "blazing fast performance". However this lib does not support long paths in Windows (see git core.longpaths setting). Legacy Windows API limitation is 255 symbols.
This is actually a showstopper for using SourceTree 2.0. The only workaround to downgrade to v1.9
Related libgit2 issue - https://github.com/libgit2/libgit2/issues/3053
Related TortoiseGit issue - https://gitlab.com/tortoisegit/tortoisegit/issues/2784
See sourcetree log attached