diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-01-11 20:15:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-30 10:55:47 -0800 |
commit | 2df1aa239cd50698ab3e0c2cb18b9c1d2f0e44d7 (patch) | |
tree | 1ce9d6a03e13ca4385bb9cc80f9d59521e0496a3 /compat/vcbuild/scripts/lib.pl | |
parent | connected: verify promisor-ness of partial clone (diff) | |
download | tgif-2df1aa239cd50698ab3e0c2cb18b9c1d2f0e44d7.tar.xz |
fetch: forgo full connectivity check if --filter
If a filter is specified, we do not need a full connectivity check on
the contents of the packfile we just fetched; we only need to check that
the objects referenced are promisor objects.
This significantly speeds up fetches into repositories that have many
promisor objects, because during the connectivity check, all promisor
objects are enumerated (to mark them UNINTERESTING), and that takes a
significant amount of time.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/vcbuild/scripts/lib.pl')
0 files changed, 0 insertions, 0 deletions