On Mon, Oct 03, 2011 at 12:48:27AM -0700, Junio C Hamano wrote: > Jeff King <peff@xxxxxxxx> writes: > > > Yeah, you'd have to maintain your own dependency tree, then. Which is > > nasty (aside from the work involved), because I don't think you can > > portably get the header dependencies out of the C compiler. > > Heh, but doesn't your Makefile know the header dependencies anyway? Sort of. It's often wrong (e.g., we are way over-inclusive in the git Makefile; one of the things I like about ccache is that even when our Makefile is overly conservative, ccache is fast. Or at least faster than actually recompiling). And of course it doesn't generally involve headers outside of your project, whereas ccache does recompile if those change. -Peff -- 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