mirror of
https://github.com/kopia/kopia.git
synced 2026-01-31 17:53:24 -05:00
* Improved .kopiaignore pattern matching .kopiaignore pattern matching now (hopefully) conforms to the .gitignore specification (https://git-scm.com/docs/gitignore) Replaced old package "ignore" with a newly written "wcmatch" that manages the globbing. This should support all the patterns that .gitignore supports. Some changes in ignorefs that dealt with how the patterns were matched. This fixes #571 * Fixed invalid matching of non-rooted patterns that contained a slash. If a pattern contains a slash in the middle of the pattern this should only match relative to the .gitignore file, i.e. the same as if it started with a '/' according to the .gitignore spec. Example: foo/bar should match "/foo/bar", but not "/other/foo/bar". whereas "bar" matches both "/bar" and "/foo/bar" * Uncommented previously failing tests. * Fixed problem with matching "nested" .kopiaignore files. Ignore-patterns must be applied from the root .kopiaignore down the hierarchy, so that an ignore file in a subdirectory can negate a pattern from a parent directory. * Uncommented tests that should now work.