1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Add test that shows problems with git-ignoring files with special characters

For #, !, [, and ], the problem is that it doesn't ignore the file because the
special characters need to be quoted. For *, the problem is that it ignores too
much (it also hides the abc_def file because the * is treated as a glob).
This commit is contained in:
Stefan Haller
2025-04-09 13:21:26 +02:00
committed by Jesse Duffield
parent d70a405169
commit 41f89d86f0
2 changed files with 88 additions and 0 deletions

View File

@ -197,6 +197,7 @@ var tests = []*components.IntegrationTest{
file.DiscardVariousChanges,
file.DiscardVariousChangesRangeSelect,
file.Gitignore,
file.GitignoreSpecialCharacters,
file.RememberCommitMessageAfterFail,
file.RenameSimilarityThresholdChange,
file.RenamedFiles,