From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miklos Vajna Subject: Re: RFC: perhaps a "new file" should not be deleted by "git reset --hard" Date: Fri, 12 Sep 2008 17:41:26 +0200 Message-ID: <20080912154126.GW4829@genesis.frugalware.org> References: <279b37b20809101212g57e9ad99qbf6fa15888679894@mail.gmail.com> <279b37b20809101946k309ad113neb7d051f1c6c410e@mail.gmail.com> <51419b2c0809110932r4e8c833fx740ccb0c8e46f0af@mail.gmail.com> <3ab397d0809111022m24c81bd9y2520f6be478babd3@mail.gmail.com> <279b37b20809111424y73a3f6b9xe7f5019b9ba0da16@mail.gmail.com> <20080911233941.GP4829@genesis.frugalware.org> <279b37b20809111649h77666a46u362dddfa1b40e0ca@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="e9pZk6dkd7RNnQPj" Cc: Jeff Whiteside , Elijah Newren , Changsheng Jiang , Git Mailing List To: Eric Raible X-From: git-owner@vger.kernel.org Fri Sep 12 17:42:47 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 1KeAn9-0005bY-W4 for gcvg-git-2@gmane.org; Fri, 12 Sep 2008 17:42:40 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755087AbYILPl2 (ORCPT ); Fri, 12 Sep 2008 11:41:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755061AbYILPl2 (ORCPT ); Fri, 12 Sep 2008 11:41:28 -0400 Received: from virgo.iok.hu ([193.202.89.103]:57821 "EHLO virgo.iok.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754499AbYILPl1 (ORCPT ); Fri, 12 Sep 2008 11:41:27 -0400 Received: from kag.elte.hu (kag.elte.hu [157.181.177.1]) by virgo.iok.hu (Postfix) with ESMTP id 85C431B255C; Fri, 12 Sep 2008 17:41:26 +0200 (CEST) Received: from genesis.frugalware.org (frugalware.elte.hu [157.181.177.34]) by kag.elte.hu (Postfix) with ESMTP id 7A4664465E; Fri, 12 Sep 2008 17:41:26 +0200 (CEST) Received: by genesis.frugalware.org (Postfix, from userid 1000) id 6878F11901A1; Fri, 12 Sep 2008 17:41:26 +0200 (CEST) Content-Disposition: inline In-Reply-To: <279b37b20809111649h77666a46u362dddfa1b40e0ca@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: --e9pZk6dkd7RNnQPj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 11, 2008 at 04:49:54PM -0700, Eric Raible wrote: > What advantages does "git read-tree -m HEAD" have over "git reset" or > "git rm --cached "? Nothing. I should stop advertising that I still use a lot of plumbing when a porcelain like 'git reset' does the job as well. ;-( Thanks for the correction. --e9pZk6dkd7RNnQPj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjKjaYACgkQe81tAgORUJZ4AgCeK+FfexB8vaH3TfhWmgMVIYXN XMcAnAhNHVP0luMYQ2fEUPKM3gZ2UTPq =o50q -----END PGP SIGNATURE----- --e9pZk6dkd7RNnQPj--