]> git.99rst.org Git - git.git/commit
builtin/cat-file: support "object:type=" objects filter
authorPatrick Steinhardt <redacted>
Wed, 2 Apr 2025 11:13:41 +0000 (13:13 +0200)
committerJunio C Hamano <redacted>
Mon, 7 Apr 2025 21:43:51 +0000 (14:43 -0700)
commit8fa9fe171a43b10c47268b6508ad4f39f2f628d6
tree92e0a12201e9c4920fb73510868100bcff7b2259
parentdbe1b32d59699092d549150e2db7af07e3cbfaf3
builtin/cat-file: support "object:type=" objects filter

Implement support for the "object:type=" filter in git-cat-file(1),
which causes us to omit all objects that don't match the provided object
type.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-cat-file.adoc
builtin/cat-file.c
t/t1006-cat-file.sh
git clone https://git.99rst.org/PROJECT