aboutsummaryrefslogtreecommitdiff
path: root/internal/go-git-gitignore/pattern.go
AgeCommit message (Collapse)Author
2025-07-09go-git-gitignore: simpleNameMatch: bail out on "p.dirOnly && !isDir"Jakob Unterwurzacher
Fixes this test failure: --- FAIL: TestIssue927Minimal (0.03s) exclude_test.go:44: File "dir/zzz" is visible, but should be hidden FAIL testcases[0] = struct { plaintextnames bool; deterministic_names bool }{plaintextnames:true, deterministic_names:false} failed exit status 1 FAIL github.com/rfjakob/gocryptfs/v2/tests/reverse 0.577s
2025-07-09go-git-gitignore: copy matcher.go, pattern.go from ↵Jakob Unterwurzacher
go-git/plumbing/format/gitignore Files copied from https://github.com/go-git/go-git/tree/7bc22667c9e181cc1361eccec77f1a237abee860/plumbing/format/gitignore . Importing all of go-git pulls in a metric ton of dependencies, so I have decided to only copy the two files we need. https://github.com/rfjakob/gocryptfs/issues/927