diff options
author | Patrick Steinhardt <ps@pks.im> | 2021-04-12 13:37:35 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-12 16:35:50 (GMT) |
commit | 9a2a4f95448890d138a800c8a55c5d5dcfe16082 (patch) | |
tree | 9c3c3df9c336ad1f733ba78831ba7ee61be66139 /list-objects-filter.h | |
parent | 628d81be6c007de5aa0fa352b912b89f74a5cfa7 (diff) | |
download | git-9a2a4f95448890d138a800c8a55c5d5dcfe16082.zip git-9a2a4f95448890d138a800c8a55c5d5dcfe16082.tar.gz git-9a2a4f95448890d138a800c8a55c5d5dcfe16082.tar.bz2 |
list-objects: support filtering by tag and commit
Object filters currently only support filtering blobs or trees based on
some criteria. This commit lays the foundation to also allow filtering
of tags and commits.
No change in behaviour is expected from this commit given that there are
no filters yet for those object types.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects-filter.h')
-rw-r--r-- | list-objects-filter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/list-objects-filter.h b/list-objects-filter.h index cfd784e..9e98814 100644 --- a/list-objects-filter.h +++ b/list-objects-filter.h @@ -55,6 +55,8 @@ enum list_objects_filter_result { }; enum list_objects_filter_situation { + LOFS_COMMIT, + LOFS_TAG, LOFS_BEGIN_TREE, LOFS_END_TREE, LOFS_BLOB |