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=AWL,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: Thu, 16 Nov 2006 09:01:00 -0800 Message-ID: <87ejs3s4vn.wl%cworth@cworth.org> References: <87k61yt1x2.wl%cworth@cworth.org> <200611151858.51833.andyparkins@gmail.com> <20061116042639.GA23026@thunk.org> <455C5079.3010701@op5.se> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Nov_16_09:01:00_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Thu, 16 Nov 2006 17:01:38 +0000 (UTC) Cc: Andreas Ericsson , Theodore Tso , Nicolas Pitre , "Michael K. Edwards" , git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org In-Reply-To: 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 1Gkkc9-0004OV-Kl for gcvg-git@gmane.org; Thu, 16 Nov 2006 18:01:25 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424119AbWKPRBW (ORCPT ); Thu, 16 Nov 2006 12:01:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031206AbWKPRBV (ORCPT ); Thu, 16 Nov 2006 12:01:21 -0500 Received: from theworths.org ([217.160.253.102]:54454 "EHLO theworths.org") by vger.kernel.org with ESMTP id S1030941AbWKPRBV (ORCPT ); Thu, 16 Nov 2006 12:01:21 -0500 Received: (qmail 12583 invoked from network); 16 Nov 2006 12:01:17 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 16 Nov 2006 12:01:17 -0500 To: Linus Torvalds Sender: git-owner@vger.kernel.org --pgp-sign-Multipart_Thu_Nov_16_09:01:00_2006-1 Content-Type: text/plain; charset=US-ASCII On Thu, 16 Nov 2006 08:30:55 -0800 (PST), Linus Torvalds wrote: > The form I use is actually a lot simpler (conceptually) than the "short" > form. > > When you do > > git pull Yes, that's what the user almost always wants. The UI problem here is that the conceptually simpler form is syntactically longer, (which means users aren't likely to find it). So if we can just get and to default correctly, (based on the current branch name, and clone/fetch/pull history), then the conceptually simple form ends up syntactically simple as "git pull". And I definitely don't have any problem with that. I'd love to be able to teach that kind of simple thing to new users. > driver tree, and because I'm always on that branch, what I do is > > git pull origin modesetting ... > Well, as mentioned, I think even for non-developers, doing pulls with > explicit branchnames is actually perfectly sane. The behavior is sane, but having to always type the branch name specifically because it never changes... that's a user-interface bug. This is a good example of the kind of thing I wanted to hit when starting this thread. I don't think there are any big conceptual changes needed in git to make it easier for new users. But there are little things that are problems that really should be fixed. Wouldn't it be great to have the following exchange: User: How do I track on-going development in a branch? Master: Use "git pull" Rather than: User: How do I track on-going development in a branch? Master Use "git pull origin " ? -Carl --pgp-sign-Multipart_Thu_Nov_16_09:01:00_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFXJlM6JDdNq8qSWgRAs6kAJwMUMlTsXDXtvGSwcmW1JhYIH6IrACdHr/S 9ufauZHpiUhk3f+Rt0DEeeo= =WfsU -----END PGP SIGNATURE-----