Re: [PATCH 1/4] add generic, type aware object chain walker
On Mon, 25 Feb 2008, Shawn O. Pearce wrote:
Show 15 quoted lines
> Martin Koegler <mkoegler@auto.tuwien.ac.at> wrote:
> > On Mon, Feb 25, 2008 at 12:02:15AM -0800, Junio C Hamano wrote:
> > > mkoegler@auto.tuwien.ac.at (Martin Koegler) writes:
> > >
> > > > What about
> > > > #define OBJ_BAD -2
> > >
> > > You mean "#define OBJ_ANY -2"?
> >
> > Yes.
> >
> > Should it go into cache.h or should it stay in fsck.h?
>
> I'd rather see this declared at the end of enum object_type, as
> essentially OBJ_MAX-1. But Nico may have a different opinion.
Why not alias OBJ_ANY to OBJ_NONE instead?
Nicolas