diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-02-18 15:30:31 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-02-18 15:30:31 -0800 |
| commit | e565f3755342caf1d21e22359eaf09ec11d8c0ae (patch) | |
| tree | 5f72183ddfbef4150aabe189127d03248c0e8151 /dir.h | |
| parent | 03944513488db4a81fdb4c21c3b515e4cb260b05 (diff) | |
| parent | 85127bcdeab5ab34f9c738da3fcc88d637f39089 (diff) | |
| download | git-e565f3755342caf1d21e22359eaf09ec11d8c0ae.tar.xz | |
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 'dir.h')
| -rw-r--r-- | dir.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -467,6 +467,9 @@ void add_patterns_from_file(struct dir_struct *, const char *fname); int add_patterns_from_blob_to_list(struct object_id *oid, const char *base, int baselen, struct pattern_list *pl); +int add_patterns_from_buffer(char *buf, size_t size, + const char *base, int baselen, + struct pattern_list *pl); void parse_path_pattern(const char **string, int *patternlen, unsigned *flags, int *nowildcardlen); void add_pattern(const char *string, const char *base, int baselen, struct pattern_list *pl, int srcpos); |
