From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Lever Subject: Re: [ANNOUNCE] pg - A patch porcelain for GIT Date: Tue, 14 Feb 2006 15:58:02 -0500 Organization: Network Appliance, Inc. Message-ID: <43F2445A.6020109@citi.umich.edu> References: <20060210195914.GA1350@spearce.org> <20060210211740.GO31278@pasky.or.cz> <20060213210001.GA31278@pasky.or.cz> <20060214100844.GA1234@diana.vm.bytemark.co.uk> <43F1F5CB.10402@citi.umich.edu> <20060214160747.GA6350@diana.vm.bytemark.co.uk> Reply-To: cel@citi.umich.edu Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030705090303020004000300" Cc: Catalin Marinas , git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Feb 14 21:58:14 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 1F97FP-0005Us-Fs for gcvg-git@gmane.org; Tue, 14 Feb 2006 21:58:08 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161096AbWBNU6E (ORCPT ); Tue, 14 Feb 2006 15:58:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161100AbWBNU6D (ORCPT ); Tue, 14 Feb 2006 15:58:03 -0500 Received: from citi.umich.edu ([141.211.133.111]:61043 "EHLO citi.umich.edu") by vger.kernel.org with ESMTP id S1161096AbWBNU6D (ORCPT ); Tue, 14 Feb 2006 15:58:03 -0500 Received: from [141.211.133.33] (dexter.citi.umich.edu [141.211.133.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by citi.umich.edu (Postfix) with ESMTP id 70F021BB90; Tue, 14 Feb 2006 15:58:02 -0500 (EST) User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) X-Accept-Language: en-us, en To: =?ISO-8859-1?Q?Karl_Hasselstr=F6m?= In-Reply-To: <20060214160747.GA6350@diana.vm.bytemark.co.uk> Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: This is a multi-part message in MIME format. --------------030705090303020004000300 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Karl Hasselstr=F6m wrote: > On 2006-02-14 10:22:51 -0500, Chuck Lever wrote: >=20 >=20 >>Karl Hasselstr=F6m wrote: >> >> >>>One thing I would like to see in stgit is the opposite of "stg >>>commit"; instead of converting patches to regular commits, take >>>the topmost regular commits and convert them to patches. >>> >>>For example, "stg uncommit foo bar baz" would -- regardless of any >>>existing patches, applied or not -- convert the top three regular >>>commits, with comments and all, to stgit patches called foo, bar, >>>and baz. These would be already applied, at the bottom of the >>>stack. I imagine all one would have to do is to modify some stgit >>>metadata, so the operation could be really cheap. >>> >>>Of course, "stg uncommit" is allowed to reject any commit with >>>more than one parent, since those can't be represented as stgit >>>patches. >>> >>>This would perhaps not add much power to an all-stgit workflow, >>>but it would be a really convenient way to edit recent git >>>history. Sort of like a more convenient rebase. And a great way to >>>lure new users. :-) >> >>i think you want "stg pick --reverse" ? >=20 >=20 > No, I literally want the opposite of "stg commit", so that the > sequence "stg commit; stg uncommit" has zero net effect. gotcha. well, that would work OK for maintainers, but would be kind of strange=20 for folks who are pulling from such a repository. how would that work? my impression of git is that you don't change stuff that's already=20 committed. you revert changes by applying a new commit that backs out=20 the original changes. i'm speculating, but i suspect that's why there's = a "stg pick --reverse" and not a "stg uncommit." --------------030705090303020004000300 Content-Type: text/x-vcard; charset=utf-8; name="cel.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cel.vcf" begin:vcard fn:Chuck Lever n:Lever;Charles org:Network Appliance, Incorporated;Open Source NFS Client Development adr:535 West William Street, Suite 3100;;Center for Information Technology Integration;Ann Arbor;MI;48103-4943;USA email;internet:cel@citi.umich.edu title:Member of Technical Staff tel;work:+1 734 763 4415 tel;fax:+1 734 763 4434 tel;home:+1 734 668 1089 x-mozilla-html:FALSE url:http://troy.citi.umich.edu/u/cel/ version:2.1 end:vcard --------------030705090303020004000300--