From: Matthieu Moy Date: Mon, 03 Oct 2011 07:41:29 GMT Subject: Re: Branches & directories Message-ID: In-Reply-To: <20111003073456.GA10054@sigill.intra.peff.net> Jeff King writes: > Speaking of which; does anybody know of a git-aware ccache-like tool? > We already have a nice index of the sha1 of each file in the repository > (along with a stat cache showing us whether it's up-to-date or not). > Something like ccache could avoid even looking in the C files at all if > it relied on git's index. It would be a bit harder than that I think. IIRC, ccache hashes the preprocessed file, hence it will notice if a .h file changed, even if it's outside the project. -- Matthieu Moy http://www-verimag.imag.fr/~moy/