Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261377AbVDITyd (ORCPT ); Sat, 9 Apr 2005 15:54:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261379AbVDITyd (ORCPT ); Sat, 9 Apr 2005 15:54:33 -0400 Received: from fire.osdl.org ([65.172.181.4]:52670 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261377AbVDITyb (ORCPT ); Sat, 9 Apr 2005 15:54:31 -0400 Date: Sat, 9 Apr 2005 12:56:16 -0700 (PDT) From: Linus Torvalds To: Petr Baudis , "Randy.Dunlap" , Ross Vandegrift , Ingo Molnar , Dave Jones cc: Kernel Mailing List Subject: Re: more git updates.. In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 19 On Sat, 9 Apr 2005, Linus Torvalds wrote: > > To actually change the working directory, you'd first get the index file > setup, and then you do a "checkout-cache -a" to update the files in your > working directory with the files from the sha1 database. Btw, this will not overwrite any old files, so if you have an old version of something, you'd need to do "checkout-cache -f -a" (and order matters: the "-f" must come first). This time I actually have a big comment at the top of the checkout-cache.c file trying to explain the logic. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/