summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2020-01-11 20:15:24 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-30 10:55:31 -0800
commit50033772d50ef3c4023d63561d20bc61db96500e (patch)
tree99669783c6a4319593cd5f0555e5b17894e9bdb9 /tag.c
parentGit 2.25 (diff)
downloadtgif-50033772d50ef3c4023d63561d20bc61db96500e.tar.xz
connected: verify promisor-ness of partial clone
Commit dfa33a298d ("clone: do faster object check for partial clones", 2019-04-21) optimized the connectivity check done when cloning with --filter to check only the existence of objects directly pointed to by refs. But this is not sufficient: they also need to be promisor objects. Make this check more robust by instead checking that these objects are promisor objects, that is, they appear in a promisor pack. 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 'tag.c')
0 files changed, 0 insertions, 0 deletions