git-lfs/git
brian m. carlson e3fcde746a git: replace object scanner with one based on gitobj
Currently, our object scanner is based on calling git cat-file --batch.
This is less efficient than reading the objects ourselves in process, so
update the object scanner to use our gitobj package instead.

Remove the reset function from the object scanner, since it is no longer
used.  Also, since we no longer need to worry about reading too much
data from git cat-file --batch, switch the io.LimitedReader to a plain
io.Reader to simplify the code.

Note that in the tests we now specify the object ID of the pointer item
to scan since we no longer can implicitly read from a fake buffer.
Consequently, we no longer look for a trailing entry, since that won't
succeed anymore.
2018-09-11 18:43:27 +00:00
..
gitattr git/gitattr/tree_test.go: ensure that children are given appropriately 2018-07-09 12:04:06 -05:00
githistory git/githistory/rewriter_test.go: ensure calls over subtrees 2018-07-09 12:14:34 -05:00
attribs.go git/attribs.go: consider system attribute paths 2018-06-18 19:43:03 -05:00
config.go git: remove static Config, keep Version() static 2017-10-25 20:23:43 -06:00
filter_process_scanner_test.go Merge pull request #2471 from git-lfs/git-pl-write-list 2017-08-04 09:10:28 -06: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 t: move testutils.go to cmd sub-package 2018-07-13 12:54:18 -05:00
git.go git: add a function to look up common directory 2018-09-11 17:47:21 +00:00
object_scanner.go git: replace object scanner with one based on gitobj 2018-09-11 18:43:27 +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 git: remove extraneous length check 2016-11-22 10:57:18 -07:00
pkt_line_test.go git/pl: flush underlying *bufio.Writer only when necessary 2016-11-15 14:35:21 -07: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 git/pl: document pkt-line behavior 2016-11-15 14:35:21 -07: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: prefer sending revisions over STDIN than arguments 2017-11-17 09:41:19 -08:00
rev_list_scanner.go git: prefer sending revisions over STDIN than arguments 2017-11-17 09:41:19 -08:00
version.go git: remove static Config, keep Version() static 2017-10-25 20:23:43 -06:00