From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Worth Subject: Re: [PATCH] git-checkout: disable guides how to switch branches with ui.guide Date: Thu, 01 Feb 2007 14:16:58 -0800 Message-ID: <87ododa5gl.wl%cworth@cworth.org> References: <20070131231942.GB31145@coredump.intra.peff.net> <20070201030030.GA1979@coredump.intra.peff.net> <7vd54ur26u.fsf@assigned-by-dhcp.cox.net> <7vlkjip7mu.fsf_-_@assigned-by-dhcp.cox.net> <20070201184403.GA6326@moooo.ath.cx> <7vabzxpq2t.fsf@assigned-by-dhcp.cox.net> <20070201205145.GA13439@moooo.ath.cx> <7vabzxoaed.fsf@assigned-by-dhcp.cox.net> <87ps8ta7fx.wl%cworth@cworth.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Feb__1_14:16:53_2007-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Cc: Junio C Hamano , Matthias Lederhofer , git@vger.kernel.org To: Nicolas Pitre X-From: git-owner@vger.kernel.org Thu Feb 01 23:17:29 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCkFE-00075O-OX for gcvg-git@gmane.org; Thu, 01 Feb 2007 23:17:29 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751667AbXBAWR0 (ORCPT ); Thu, 1 Feb 2007 17:17:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751669AbXBAWRZ (ORCPT ); Thu, 1 Feb 2007 17:17:25 -0500 Received: from cworth.org ([217.160.249.188]:58351 "EHLO theworths.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751667AbXBAWRZ (ORCPT ); Thu, 1 Feb 2007 17:17:25 -0500 Received: (qmail 19547 invoked from network); 1 Feb 2007 17:17:00 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 1 Feb 2007 17:17:00 -0500 In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --pgp-sign-Multipart_Thu_Feb__1_14:16:53_2007-1 Content-Type: text/plain; charset=US-ASCII On Thu, 01 Feb 2007 16:59:46 -0500 (EST), Nicolas Pitre wrote: > Please just display the last commit since this list could get long. In that case what might be nice would be if it printed a revision specification that could be handed to git-log or gitk for the user to inspect the situation. And extra nice if it looked like b1189118..ba531642 when possible. > > Leaving commit 7b1509f4 to checkout 'foo'. > > > > (or just depend on the HEAD reflog). > > It is not fully available yet. Right. I wasn't sure about when it is expected to come online. That's why I suggested the message above. It would be a very easy way to allow "git checkout" to work in the no-commits-to-lose case, but would still give the user the name of the commit she is leaving behind in case she wants to get back to it. -Carl --pgp-sign-Multipart_Thu_Feb__1_14:16:53_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFwmba6JDdNq8qSWgRAqwnAJ41QOzx04ZiYvaHFwMdaMnowQOatQCfRtW+ vwbQnjakpSV0DPwb0vl7vGw= =TA3e -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Feb__1_14:16:53_2007-1--