git-lfs/git
brian m. carlson 6e8b16667a
git: match gitattributes patterns strictly
When we look for patterns in the .gitattributes file, we want to match
these patterns strictly: that is, exactly the way that Git does.  We
don't want to use a different algorithm because that will lead to
confusing behavior when our code behaves differently from Git does.

Let's fix this by using our new strict matching when reading patterns
from the gitattributes files and add a test to make sure we don't
regress anything.
2020-11-12 18:41:32 +00:00
..
gitattr Support SHA-256 repositories 2020-07-29 20:53:44 +00:00
githistory Support SHA-256 repositories 2020-07-29 20:53:44 +00:00
attribs.go git: match gitattributes patterns strictly 2020-11-12 18:41:32 +00:00
config_test.go git: provide a read-only configuration object 2018-10-26 15:27:54 +00:00
config.go config: optionally read .lfsconfig from the repository 2020-08-06 20:04:00 +00:00
filter_process_scanner_test.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
filter_process_scanner.go git: remove low value debug message 2017-10-27 09:51:45 -06:00
filter_process_status.go git: introduce type 'FilterProcessStatus' 2017-08-24 18:28:50 -04:00
git_test.go git: add a function to check for a zero object ID 2020-07-29 20:53:43 +00:00
git.go tools: add a function to canonicalize paths 2020-10-14 16:49:23 +00:00
ls_files.go Tidy files 2019-10-02 19:17:28 +00:00
object_scanner.go Support SHA-256 repositories 2020-07-29 20:53:44 +00:00
pkt_line_reader_test.go filter-process: fix reading 1024 byte files 2016-11-22 12:21:48 +01:00
pkt_line_reader.go filter-process: avoid hang when using git hash-object --stdin 2019-11-04 19:55:45 +00:00
pkt_line_test.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
pkt_line_writer_test.go git: teach *PktlineWriter.Flush() to respond to nil receiver 2017-08-02 13:26:38 -06:00
pkt_line_writer.go git: teach *PktlineWriter.Flush() to respond to nil receiver 2017-08-02 13:26:38 -06:00
pkt_line.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
refs_test.go git: port over existing commands.refUpdate tests 2018-01-05 15:18:17 -07:00
refs.go git: remove unnecessary debug trace messages 2018-01-17 11:06:23 -07:00
rev_list_scanner_test.go git: avoid "bad object" messages when force-pushing 2020-04-23 15:13:31 +00:00
rev_list_scanner.go git: support SHA-256 in rev-list scanner 2020-07-29 20:53:43 +00:00
version.go git/version.go: replace sync.Mutex usage with sync.Once 2019-01-23 15:42:32 -08:00