Bug: Files with special characters in their path are not properly escaped when added to .gitignore
Bug: Files with special characters in their path are not properly escaped when added to .gitignore: a task in LegoFlow-SWE (Harbor dataset). Actual entry added: resources/ 3dtext /log.txt Because the brackets are unescaped, git treats 3dtext as a character class and the rule is unlikely to match…
The task
**Actual entry added:** ``` resources/[3dtext]/log.txt ``` Because the brackets are unescaped, git treats `[3dtext]` as a character class and the rule is unlikely to match the actual file.
Part of Lego-X/LegoFlow-SWE.