Thread (36 messages) flat view 36 messages, 6 authors, 2016-06-15

Re: [PATCH] Add list-all-objects command

From: Duy Nguyen <hidden>
Date: 2016-06-15 23:05:26

On Mon, Jun 22, 2015 at 2:20 AM, Charles Bailey [off-list ref] wrote:
From: Charles Bailey <redacted>

list-all-objects is a command to print the ids of all objects in the
object database of a repository. It is designed as a low overhead
interface for scripts that want to analyse all objects but don't require
the ordering implied by a revision walk.

It will list all objects, loose and packed, and will include unreachable
objects.
Nit picking, but perhaps we should allow to select object source:
loose, packed, alternates.. These info are available now and cheap to
get. It's ok not to do it now though.

Personally I would name this command "find-objects" (after unix
command "find") where we could still filter objects _not_ based on
object content.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help