From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: [PATCH] cmd_reset: don't trash uncommitted changes unless told to Date: Wed, 25 Jun 2008 17:05:35 -0400 Message-ID: <20080625210535.GA8610@mit.edu> References: <48620C1A.6000509@panasas.com> <486220CE.3070103@viscovery.net> <20080625135100.GF20361@mit.edu> <7v63rx2zwf.fsf@gitster.siamese.dyndns.org> <20080625195003.GB15077@mit.edu> <32541b130806251304u39c8ffdenc52904391aebd089@mail.gmail.com> <20080625203822.GA7827@mit.edu> <7v8wwtz1c1.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avery Pennarun , Johannes Schindelin , Johannes Sixt , Boaz Harrosh , Steven Walter , git@vger.kernel.org, jeske@google.com To: Junio C Hamano X-From: git-owner@vger.kernel.org Wed Jun 25 23:07:19 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KBcCu-00073U-Pc for gcvg-git-2@gmane.org; Wed, 25 Jun 2008 23:07:13 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573AbYFYVGM (ORCPT ); Wed, 25 Jun 2008 17:06:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751406AbYFYVGM (ORCPT ); Wed, 25 Jun 2008 17:06:12 -0400 Received: from www.church-of-our-saviour.ORG ([69.25.196.31]:38866 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751386AbYFYVGL (ORCPT ); Wed, 25 Jun 2008 17:06:11 -0400 Received: from root (helo=closure.thunk.org) by thunker.thunk.org with local-esmtp (Exim 4.50 #1 (Debian)) id 1KBcBO-00033T-6j; Wed, 25 Jun 2008 17:05:38 -0400 Received: from tytso by closure.thunk.org with local (Exim 4.69) (envelope-from ) id 1KBcBL-0002GA-RF; Wed, 25 Jun 2008 17:05:35 -0400 Content-Disposition: inline In-Reply-To: <7v8wwtz1c1.fsf@gitster.siamese.dyndns.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, Jun 25, 2008 at 01:50:06PM -0700, Junio C Hamano wrote: > I just replied to Avery about that. -- is always the way to disambiguate > between refs (that come before --) and paths (that come after --), not > limited to "git checkout" but with other commands such as "git log", "git > diff", etc. Stupid quesiton --- where is this documented? I don't see this documented either in the man page for git or git-checkout. Regards, - Ted