On Sun, Feb 24, 2008 at 10:04:04PM -0500, Shawn O. Pearce wrote: > Martin Koegler <mkoegler@xxxxxxxxxxxxxxxxx> wrote: > Hmm. Don't you need to get commit->parenst *after* it is parsed, > and not before? Thanks, fixed. > > @@ -0,0 +1,10 @@ > > +#ifndef GIT_FSCK_H > > +#define GIT_FSCK_H > > + > > +#define OBJ_ANY OBJ_BAD > > Its unclear why this macro is necessary. There are cases (eg. a tag->tagged), where the object type does not matter. In this case, the callback gets this value for the expected type. The value of OBJ_BAD (-1) is not used anywhere in git, so its free. OBJ_ANY is just a better name. If somebody has a better idea, please tell me. mfg Martin Kögler - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html