On Mon, Jul 11, 2011 at 12:18:14PM -0400, Jeff King wrote: > > +unsigned long commit_generation(const struct commit *commit) > +{ [...] > + /* drop const because we may call parse_commit */ > + return commit_generation_recurse((struct commit *)commit); > +} Out of curiosity, why make it const in the first place? Clemens -- 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