-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
High
-
None
-
Affects Version/s: 3.1.2
-
Component/s: Git
-
None
-
Environment:
Windows 10 (1809, OS Build 17763.379)
SourceTree for Windows 3.1.2
-
Severity 2 - Major
Git LFS patterns with [[:space:]] are not parsed correctly.
Reproduction steps:
- Create a git repo with lfs and add a big file with a whitespace in it (for instance, "big file.bmp", which size is several MBs)
- Run:
git lfs track "big file.bmp"
- Open .gitattributes file. Observe that whitespace was automatically replaced by [[:space:]]
big[[:space:]]image.bmp filter=lfs diff=lfs merge=lfs -text
- Open Source Tree and try to stage this file. Observe the following warning: "The following files are 2 MB or larger and are not currently tracked in Git LFS."