aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-18 15:30:31 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-18 15:30:31 -0800
commite565f3755342caf1d21e22359eaf09ec11d8c0ae (patch)
tree5f72183ddfbef4150aabe189127d03248c0e8151 /Documentation/technical
parentThe eleventh batch (diff)
parentbackfill: assume --sparse when sparse-checkout is enabled (diff)
downloadgit-e565f3755342caf1d21e22359eaf09ec11d8c0ae.tar.gz
git-e565f3755342caf1d21e22359eaf09ec11d8c0ae.zip
Merge branch 'ds/backfill'
Lazy-loading missing files in a blobless clone on demand is costly as it tends to be one-blob-at-a-time. "git backfill" is introduced to help bulk-download necessary files beforehand. * ds/backfill: backfill: assume --sparse when sparse-checkout is enabled backfill: add --sparse option backfill: add --min-batch-size=<n> option backfill: basic functionality and tests backfill: add builtin boilerplate
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/api-path-walk.adoc11
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/technical/api-path-walk.adoc b/Documentation/technical/api-path-walk.adoc
index 7075d0d5ab..3e089211fb 100644
--- a/Documentation/technical/api-path-walk.adoc
+++ b/Documentation/technical/api-path-walk.adoc
@@ -56,8 +56,17 @@ better off using the revision walk API instead.
the revision walk so that the walk emits commits marked with the
`UNINTERESTING` flag.
+`pl`::
+ This pattern list pointer allows focusing the path-walk search to
+ a set of patterns, only emitting paths that match the given
+ patterns. See linkgit:gitignore[5] or
+ linkgit:git-sparse-checkout[1] for details about pattern lists.
+ When the pattern list uses cone-mode patterns, then the path-walk
+ API can prune the set of paths it walks to improve performance.
+
Examples
--------
See example usages in:
- `t/helper/test-path-walk.c`
+ `t/helper/test-path-walk.c`,
+ `builtin/backfill.c`