git-lfs/lfs
brian m. carlson 22a7fbdb4a
filepathfilter: switch to strict pattern matching
There are two types of pattern matching with wildmatch patterns in Git:
gitignore and gitattributes patterns.  We'd like to support both, but
without the lazy matching that was the cause of so many problems before.

Add a type of pattern to use when creating a new filepathfilter and use
it to instantiate the wildmatch pattern with the proper flags.  Remove
the dirs flag, which is unused and has been for sometime, and also the
stripping of trailing slashes, which we want to use to indicate a
directory.  Drop the non-strict mode since our pattern matching is now
much improved and compatible with Git.
2021-08-26 15:48:54 +00:00
..
attribute.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
config_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
config.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
diff_index_scanner.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
extension.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitfilter_clean.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitfilter_smudge.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitfilter.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_catfilebatch.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_catfilebatchcheck.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_catfilebatchcheckscanner_test.go lfs: teach gitscanner how to emit lockable files that aren't lfs objects 2017-02-16 16:52:40 -07:00
gitscanner_index.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_log.go filepathfilter: switch to strict pattern matching 2021-08-26 15:48:54 +00:00
gitscanner_pointerscanner_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_refs.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_remotes.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
gitscanner_tree.go filepathfilter: switch to strict pattern matching 2021-08-26 15:48:54 +00:00
gitscanner.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
hook.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
lfs_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
lfs.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
pointer_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
pointer.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
scanner_git_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
scanner_test.go filepathfilter: switch to strict pattern matching 2021-08-26 15:48:54 +00:00
scanner.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
util_generic.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
util.go checkout: rewrite path specs on command line 2021-08-26 15:48:54 +00:00