Re: Branches & directories
- From
Jeff King <peff@peff.net>
- Date
- Oct 3, 2011, 07:51 UTC
- Message-ID
- <20111003075158.GA10965@sigill.intra.peff.net>
- In-Reply-To
- <7v4nzqikhg.fsf@alter.siamese.dyndns.org>
On Mon, Oct 03, 2011 at 12:48:27AM -0700, Junio C Hamano wrote:
Show 7 quoted lines
> Jeff King <peff@peff.net> 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