From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Worth Subject: Re: several quick questions Date: Tue, 14 Feb 2006 10:44:50 -0800 Message-ID: <87irrhvkyl.wl%cworth@cworth.org> References: <43F20532.5000609@iaglans.de> <87k6bxvmj6.wl%cworth@cworth.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Feb_14_10:44:49_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Cc: "Nicolas Vilz 'niv'" , git X-From: git-owner@vger.kernel.org Tue Feb 14 19:48:32 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F95Dh-0000G5-CF for gcvg-git@gmane.org; Tue, 14 Feb 2006 19:48:14 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030486AbWBNSsJ (ORCPT ); Tue, 14 Feb 2006 13:48:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030488AbWBNSsI (ORCPT ); Tue, 14 Feb 2006 13:48:08 -0500 Received: from theworths.org ([217.160.253.102]:45515 "EHLO theworths.org") by vger.kernel.org with ESMTP id S1030486AbWBNSsH (ORCPT ); Tue, 14 Feb 2006 13:48:07 -0500 Received: (qmail 602 invoked from network); 14 Feb 2006 13:45:45 -0500 Received: from localhost (HELO raht.localdomain) (127.0.0.1) by localhost with SMTP; 14 Feb 2006 13:45:45 -0500 To: Linus Torvalds In-Reply-To: <87k6bxvmj6.wl%cworth@cworth.org> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --pgp-sign-Multipart_Tue_Feb_14_10:44:49_2006-1 Content-Type: text/plain; charset=US-ASCII On Tue, 14 Feb 2006 10:10:53 -0800, Carl Worth wrote: > > Is there a more fundamental operation to "put the working files into > the state of the index"? If that exists, then that combined with > git-read-tree would give me what I wanted I think. Oh, I'm blind. I didn't see git-checkout-index, (thanks Kenneth for mentioning it elsewhere in the thread). So now I've at least got the recipe I was after: git-read-tree git-update-index --replace git-checkout-index -a -f -u And I think that would make for a dandy command to have in git. Any suggestions for a name? -Carl --pgp-sign-Multipart_Tue_Feb_14_10:44:49_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD8iUi6JDdNq8qSWgRAgqCAKCjWr//EUv7aosrIMoptQlTCuBpjwCeLJvt 2rrFrR6voc2XneT4aVx7e2g= =Fk1d -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Feb_14_10:44:49_2006-1--