From: Ingo Molnar Date: Tue, 19 Apr 2005 13:51:53 GMT Subject: Re: naive question Message-ID: <20050419135153.GB19146@elte.hu> In-Reply-To: <1113916741.4166.0.camel@localhost.localdomain> * David Woodhouse wrote: > On Tue, 2005-04-19 at 23:00 +1000, Paul Mackerras wrote: > > Is there a way to check out a tree without changing the mtime of any > > files that you have already checked out and which are the same as the > > version you are checking out? It seems that checkout-cache -a doesn't > > overwrite any existing files, and checkout-cache -f -a overwrites all > > files and gives them the current mtime. This is a pain if you are > > using make and your tree is large (like, for instance, the linux > > kernel :), because it means that after a checkout-cache -f -a you get > > to recompile everything. > > Corollary: why aren't we storing mtime in the tree objects? Check the "[bug] git: check-files mtime problem?" thread - i noticed this problem before and gave a few suggestions but the discussion got nowhere. But the problem is still very much present. Ingo