git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cat-file --batch-check='%(deltabase)'
@ 2013-12-21 14:23 Jeff King
  2013-12-21 14:24 ` [PATCH 1/2] sha1_object_info_extended: provide delta base sha1s Jeff King
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jeff King @ 2013-12-21 14:23 UTC (permalink / raw)
  To: git

This series lets you query the delta base for a particular object (or
set of objects), like:

  $ git rev-list --objects --all |
    git cat-file --batch-check='%(objectname) %(deltabase) %(rest)'

The only other way I know of to get this information is using
verify-pack (or index-pack), which is much slower (and less convenient
to parse).

I needed this recently to write tests for another (not yet published)
series. But I think it stands on its own as a debugging / introspection
tool.

  [1/2]: sha1_object_info_extended: provide delta base sha1s
  [2/2]: cat-file: provide %(deltabase) batch format

-Peff

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-26 20:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 14:23 [PATCH 0/2] cat-file --batch-check='%(deltabase)' Jeff King
2013-12-21 14:24 ` [PATCH 1/2] sha1_object_info_extended: provide delta base sha1s Jeff King
2013-12-26 19:54   ` Junio C Hamano
2013-12-21 14:25 ` [PATCH 2/2] cat-file: provide %(deltabase) batch format Jeff King
2013-12-26 20:20 ` [PATCH 0/2] cat-file --batch-check='%(deltabase)' Jonathan Nieder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).