From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shawn O. Pearce" Subject: Re: [PATCH] setup.c:verify_non_filename(): don't die unnecessarily while disambiguating Date: Mon, 6 Aug 2007 04:03:01 -0400 Message-ID: <20070806080301.GL9527@spearce.org> References: <7vk5s9dt2b.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Mon Aug 06 10:03:18 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 1IHxYc-0004aY-3B for gcvg-git@gmane.org; Mon, 06 Aug 2007 10:03:18 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759147AbXHFIDN (ORCPT ); Mon, 6 Aug 2007 04:03:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759173AbXHFIDM (ORCPT ); Mon, 6 Aug 2007 04:03:12 -0400 Received: from corvette.plexpod.net ([64.38.20.226]:55179 "EHLO corvette.plexpod.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbXHFIDL (ORCPT ); Mon, 6 Aug 2007 04:03:11 -0400 Received: from [74.70.48.173] (helo=asimov.home.spearce.org) by corvette.plexpod.net with esmtpa (Exim 4.66) (envelope-from ) id 1IHxYL-0001OF-VJ; Mon, 06 Aug 2007 04:03:02 -0400 Received: by asimov.home.spearce.org (Postfix, from userid 1000) id 8CB4220FBAE; Mon, 6 Aug 2007 04:03:01 -0400 (EDT) Content-Disposition: inline In-Reply-To: <7vk5s9dt2b.fsf@assigned-by-dhcp.cox.net> User-Agent: Mutt/1.5.11 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - corvette.plexpod.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - spearce.org Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano wrote: > If you have a working tree _file_ "foo", attempt to refer to a > branch "foo/bar" without -- to disambiguate, like this: > > $ git log foo/bar > --- > > * This was from a real-life experience Shawn had. Ack. I have done this many times, and every time I thought I was going nuts. Until Junio found this bug tonight. Many thanks. -- Shawn.