summaryrefslogtreecommitdiff
path: root/pack-bitmap.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-05-07 03:47:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-07 03:47:41 (GMT)
commit8585d6c04aa903526b4b3554e90d6381ec62390a (patch)
tree46b5e9bc6ee2b452f215febcf9ee0aedad730739 /pack-bitmap.h
parent826ef0e5e510ecf39a06e8c08ae6e221bdfd5db3 (diff)
parent9cf68b27d50c29a0370bd61581d350b0b0a18e85 (diff)
downloadgit-8585d6c04aa903526b4b3554e90d6381ec62390a.zip
git-8585d6c04aa903526b4b3554e90d6381ec62390a.tar.gz
git-8585d6c04aa903526b4b3554e90d6381ec62390a.tar.bz2
Merge branch 'ps/rev-list-object-type-filter'
"git rev-list" learns the "--filter=object:type=<type>" option, which can be used to exclude objects of the given kind from the packfile generated by pack-objects. * ps/rev-list-object-type-filter: rev-list: allow filtering of provided items pack-bitmap: implement combined filter pack-bitmap: implement object type filter list-objects: implement object type filter list-objects: support filtering by tag and commit list-objects: move tag processing into its own function revision: mark commit parents as NOT_USER_GIVEN uploadpack.txt: document implication of `uploadpackfilter.allow`
Diffstat (limited to 'pack-bitmap.h')
-rw-r--r--pack-bitmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pack-bitmap.h b/pack-bitmap.h
index 78f2b3f..99d733e 100644
--- a/pack-bitmap.h
+++ b/pack-bitmap.h
@@ -52,7 +52,8 @@ void traverse_bitmap_commit_list(struct bitmap_index *,
void test_bitmap_walk(struct rev_info *revs);
int test_bitmap_commits(struct repository *r);
struct bitmap_index *prepare_bitmap_walk(struct rev_info *revs,
- struct list_objects_filter_options *filter);
+ struct list_objects_filter_options *filter,
+ int filter_provided_objects);
int reuse_partial_packfile_from_bitmap(struct bitmap_index *,
struct packed_git **packfile,
uint32_t *entries,