From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.176.0/21 X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: Carl Worth Subject: Re: Cleaning up git user-interface warts Date: Wed, 15 Nov 2006 12:19:33 -0800 Message-ID: <87y7qcsbsa.wl%cworth@cworth.org> References: <87k61yt1x2.wl%cworth@cworth.org> <7vbqn8o9st.fsf@assigned-by-dhcp.cox.net> <200611151902.16358.andyparkins@gmail.com> <7vr6w4lcpr.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Nov_15_12:19:33_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Wed, 15 Nov 2006 20:20:19 +0000 (UTC) Cc: Andy Parkins , git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org In-Reply-To: <7vr6w4lcpr.fsf@assigned-by-dhcp.cox.net> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GkRF1-0006QG-8O for gcvg-git@gmane.org; Wed, 15 Nov 2006 21:20:15 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030875AbWKOUT5 (ORCPT ); Wed, 15 Nov 2006 15:19:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030954AbWKOUT5 (ORCPT ); Wed, 15 Nov 2006 15:19:57 -0500 Received: from theworths.org ([217.160.253.102]:6298 "EHLO theworths.org") by vger.kernel.org with ESMTP id S1030875AbWKOUTy (ORCPT ); Wed, 15 Nov 2006 15:19:54 -0500 Received: (qmail 4133 invoked from network); 15 Nov 2006 15:19:50 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 15 Nov 2006 15:19:50 -0500 To: Junio C Hamano Sender: git-owner@vger.kernel.org --pgp-sign-Multipart_Wed_Nov_15_12:19:33_2006-1 Content-Type: text/plain; charset=US-ASCII On Wed, 15 Nov 2006 11:41:20 -0800, Junio C Hamano wrote: > Andy Parkins writes: > > On Wednesday 2006, November 15 18:16, Junio C Hamano wrote: > > > >> I still think in the long run you would be better off giving > >> separate names to Porcelains because I am sure you are going to > > > > The problem I think with that is that the line between plumbing and porcelain > > is not clear. > > This is moot because we (at least tentatively) agreed not to do > "gh" or "ig" or whatever, but I do not understand why you feel > so. I'm not the original poster, but I feel the same way about the line being unclear. Here's a real-world example from last week. For cairo I wrote a little script that two revspecs, (or one in which case its first parent is used), and it goes off and checks out both versions, builds each, runs a performance test on each, and then generates a report showing the performance impact. So now I can do things like: # What's the performance impact of my latest change: cairo-perf-diff HEAD # Have my last few changes helped as much as I'd hoped: cairo-perf-diff HEAD~3 HEAD # How has performance changed since our last stable release: cairo-perf-diff 1.2.6 HEAD Anyway, when I announced this I also mentioned how easily someone might generate an entire series of reports for a series of commits. The command I gave as an example is: for rev in $(git rev-list 1.2.6..HEAD); do cairo-perf-diff $rev done I think that's a perfectly legitimate one-liner for users to use, and it really shows off the easy-scriptability of git. But certainly, no "new porcelain" author is going to consider rev-list to be porcelain rather than plumbing, right? So as soon as I start teaching people to do useful stuff like this, they might have to reach down into the "scary" git interface. I think we're much better off just having one "git" namespace for the standard command-line interface, and then making it as easy to use as possible. -Carl --pgp-sign-Multipart_Wed_Nov_15_12:19:33_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFW3ZV6JDdNq8qSWgRAjTtAKCfkTxCIl2lSCPnC2Kg1Sd0QOcHtQCdF5yt jxcRUG3cnTW6Kb5WsDe53iQ= =VRz4 -----END PGP SIGNATURE-----