cat-file: provide %(deltabase) batch format
authorJeff King <peff@peff.net>
Sat, 21 Dec 2013 14:25:22 +0000 (09:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Dec 2013 19:54:26 +0000 (11:54 -0800)
It can be useful for debugging or analysis to see which
objects are stored as delta bases on top of others. This
information is available by running `git verify-pack`, but
that is extremely expensive (and is harder than necessary to
parse).

Instead, let's make it available as a cat-file query format,
which makes it fast and simple to get the bases for a subset
of the objects.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found