summaryrefslogtreecommitdiff
path: root/Documentation/technical/pack-heuristics.txt
diff options
context:
space:
mode:
authorLibravatar Matthew DeVore <matvore@google.com>2019-01-08 18:59:13 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-15 15:39:34 -0800
commitc813a7c35f44f4bf435c6ecb21bf4b9ec8f227de (patch)
treeeffc06673ec10419f1e7472af384465bd0abfa86 /Documentation/technical/pack-heuristics.txt
parentMerge branch 'nd/the-index' into md/list-objects-filter-by-depth (diff)
downloadtgif-c813a7c35f44f4bf435c6ecb21bf4b9ec8f227de.tar.xz
list-objects-filter: teach tree:# how to handle >0
Implement positive values for <depth> in the tree:<depth> filter. The exact semantics are described in Documentation/rev-list-options.txt. The long-term goal at the end of this is to allow a partial clone to eagerly fetch an entire directory of files by fetching a tree and specifying <depth>=1. This, for instance, would make a build operation fast and convenient. It is fast because the partial clone does not need to fetch each file individually, and convenient because the user does not need to supply a sparse-checkout specification. Another way of considering this feature is as a way to reduce round-trips, since the client can get any number of levels of directories in a single request, rather than wait for each level of tree objects to come back, whose entries are used to construct a new request. Signed-off-by: Matthew DeVore <matvore@google.com> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/pack-heuristics.txt')
0 files changed, 0 insertions, 0 deletions