Re: [PATCH] Add list-all-objects command
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 22, 2015, 09:57 UTC
- Message-ID
- <CACsJy8DGD6PLVJMFQGKyk9YGUn16G8+dLx2bMBn8fyjuXvfbBw@mail.gmail.com>
- In-Reply-To
- <1434914431-7745-2-git-send-email-charles@hashpling.org>
On Mon, Jun 22, 2015 at 2:20 AM, Charles Bailey <charles@hashpling.org> wrote:
Show 9 quoted lines
> From: Charles Bailey <cbailey32@bloomberg.net> > > 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