list-objects: support filtering by tag and commit
commit9a2a4f95448890d138a800c8a55c5d5dcfe16082
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 Apr 2021 13:37:35 +0000 (12 15:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Apr 2021 16:35:50 +0000 (12 09:35 -0700)
tree9c3c3df9c336ad1f733ba78831ba7ee61be66139
parent628d81be6c007de5aa0fa352b912b89f74a5cfa7
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>
list-objects-filter.c
list-objects-filter.h
list-objects.c