From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Re: [PATCH] Introduce "reset type" flag to "git reset" Date: Wed, 24 Aug 2005 09:41:35 +0900 Message-ID: <87wtmc2mkg.wl@mail2.atmark-techno.com> References: <7vu0hhzcj1.fsf@assigned-by-dhcp.cox.net> <20050823202637.GA8061@mars.ravnborg.org> <7vacj8nw5v.fsf@assigned-by-dhcp.cox.net> <87y86s2nvi.wl@mail2.atmark-techno.com> <7vpss4mbe0.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Sam Ravnborg , git@vger.kernel.org, Linus Torvalds X-From: git-owner@vger.kernel.org Wed Aug 24 02:42:39 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E7jKw-0003gP-2t for gcvg-git@gmane.org; Wed, 24 Aug 2005 02:41:50 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750784AbVHXAlr (ORCPT ); Tue, 23 Aug 2005 20:41:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750831AbVHXAlr (ORCPT ); Tue, 23 Aug 2005 20:41:47 -0400 Received: from shop.atmark-techno.com ([210.191.215.173]:22995 "EHLO mail2.atmark-techno.com") by vger.kernel.org with ESMTP id S1750784AbVHXAlq (ORCPT ); Tue, 23 Aug 2005 20:41:46 -0400 Received: from smtp.local-network (dns1.atmark-techno.com [210.191.215.170]) by mail2.atmark-techno.com (Postfix) with ESMTP id 3AF826222; Wed, 24 Aug 2005 09:41:44 +0900 (JST) Received: from wat.atmark-techno.com (unknown [192.168.10.81]) by smtp.local-network (Postfix) with ESMTP id 6DD20B61F; Wed, 24 Aug 2005 09:44:47 +0900 (JST) To: Junio C Hamano In-Reply-To: <7vpss4mbe0.fsf@assigned-by-dhcp.cox.net> User-Agent: Wanderlust/2.14.0 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: At Tue, 23 Aug 2005 17:22:47 -0700, Junio C Hamano wrote: > > Yasushi SHOJI writes: > > > for --hard option, what you want to do is to completely revert the > > current state of your index file and work tree to known point. > > > > for that, how about git-revert-script? > > "git revert" is to create a commit that reverts a previous > commit, which I think is quite different from what we have been > discussing so far. ah, ok. I was gonna suggest git-revert-script for the name but quick check showed me that we already have that script. so I just thought it does the thing. -- yashi