bbc3e24767
We have an optimization that means we avoid traversing objects that exist in the remote tracking branches of named remotes. We assume that the server already has the LFS objects referred to by those Git objects. However, this doesn't work for URL remotes, since there are no remote tracking branches for them. Instead, let's make sure that we don't traverse Git objects that are included in the old value of the ref, which we know the server must have. Note that this will not help the case where someone is pushing a new branch to a URL remote; in that case, the old value is the all-zeros value and we'll still have to traverse the entire history since we haven't learned anything about what the server has. |
||
---|---|---|
.. | ||
gitattr | ||
githistory | ||
attribs.go | ||
config_test.go | ||
config.go | ||
filter_process_scanner_test.go | ||
filter_process_scanner.go | ||
filter_process_status.go | ||
git_test.go | ||
git.go | ||
object_scanner.go | ||
pkt_line_reader_test.go | ||
pkt_line_reader.go | ||
pkt_line_test.go | ||
pkt_line_writer_test.go | ||
pkt_line_writer.go | ||
pkt_line.go | ||
refs_test.go | ||
refs.go | ||
rev_list_scanner_test.go | ||
rev_list_scanner.go | ||
version.go |