From: Karl Hasselström Date: Fri, 02 Mar 2007 09:14:26 GMT Subject: Re: Git checkout preserve timestamp? Message-ID: <20070302091426.GA2605@diana.vm.bytemark.co.uk> In-Reply-To: <17895.18265.710811.536526@lisa.zopyra.com> On 2007-03-01 15:36:25 -0600, Bill Lear wrote: > I often find myself in branch A, with everything checked in and > compiled, wanting to look at something on branch B. I hop to branch > B, look, and come back to branch A. Unfortunately, when I then do a > make, files that differed between A and B will be recompiled, as > well as any further dependencies. Like others have already recommended, I usually just use separate repositories to work around this problem. Of course, the proper fix is to use a make-like tool that uses content hashes as well as timestamps to decide if a file has been updated ... -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle