Re: Enumerating all objects in the Git object store
On Fri, 26 Mar 2010, Johannes Sixt wrote:
Show 11 quoted lines
> On Freitag, 26. März 2010, Nicolas Pitre wrote:
> > On Fri, 26 Mar 2010, Johannes Sixt wrote:
> > > Use 'git rev-list --objects --all' to find all objects connected to all
> > > refs (use something else than --all if you want to). Do *not* look at the
> > > path that the tree and blob objects have attached - it is not authorative
> > > information.
> >
> > Really??
>
> Yes, really. Consider the same content at two differen paths. Now what?
> rev-list will only ever list the object once.
Sure. It is still a valid path though.
Nicolas