From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Moy Subject: Re: git and mtime Date: Thu, 20 Nov 2008 11:53:40 +0100 Message-ID: References: <20081119113752.GA13611@ravenclaw.codelibre.net> <1227098252.11370.8.camel@therock.nsw.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Arafangion , Roger Leigh , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Thu Nov 20 11:58:43 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1L37FA-0004Dv-On for gcvg-git-2@gmane.org; Thu, 20 Nov 2008 11:58:41 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754031AbYKTK5Z (ORCPT ); Thu, 20 Nov 2008 05:57:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754025AbYKTK5Z (ORCPT ); Thu, 20 Nov 2008 05:57:25 -0500 Received: from imag.imag.fr ([129.88.30.1]:51369 "EHLO imag.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753993AbYKTK5Y (ORCPT ); Thu, 20 Nov 2008 05:57:24 -0500 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.8/8.13.8) with ESMTP id mAKAreZi009322 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 20 Nov 2008 11:53:40 +0100 (CET) Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1L37AK-0002aL-Ky; Thu, 20 Nov 2008 11:53:40 +0100 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1L37AK-0007m5-IB; Thu, 20 Nov 2008 11:53:40 +0100 In-Reply-To: (Johannes Schindelin's message of "Thu\, 20 Nov 2008 11\:34\:08 +0100 \(CET\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.60 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (imag.imag.fr [129.88.30.1]); Thu, 20 Nov 2008 11:53:41 +0100 (CET) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Schindelin writes: > Hi, > > On Wed, 19 Nov 2008, Matthieu Moy wrote: > >> Arafangion writes: >> >> > You should probably fix your build script, >> >> ccache should help: > > Only if you _allow_ the problem that makes ccache necessary. Which we > don't. You do, for some definition of "problem". make git checkout whatever make git checkout where-you-were-before make # <--- this one The last make is correct with plain git and plain make, but it can be slow. With a cache in your build system, it can just reuse the objects created during the first "make". It doesn't change correctness, only performance. -- Matthieu