From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: Fix git-rev-parse over-eager errors Date: Sun, 05 Feb 2006 22:20:58 -0800 Message-ID: <7vr76hatyt.fsf@assigned-by-dhcp.cox.net> References: <7v7j8erqjr.fsf@assigned-by-dhcp.cox.net> <7vpsm1h8ft.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org X-From: git-owner@vger.kernel.org Mon Feb 06 07:21:18 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5zkI-0000Ta-A4 for gcvg-git@gmane.org; Mon, 06 Feb 2006 07:21:07 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751024AbWBFGVB (ORCPT ); Mon, 6 Feb 2006 01:21:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751026AbWBFGVB (ORCPT ); Mon, 6 Feb 2006 01:21:01 -0500 Received: from fed1rmmtao04.cox.net ([68.230.241.35]:59364 "EHLO fed1rmmtao04.cox.net") by vger.kernel.org with ESMTP id S1751024AbWBFGVA (ORCPT ); Mon, 6 Feb 2006 01:21:00 -0500 Received: from assigned-by-dhcp.cox.net ([68.4.9.127]) by fed1rmmtao04.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060206061813.ELFU17690.fed1rmmtao04.cox.net@assigned-by-dhcp.cox.net>; Mon, 6 Feb 2006 01:18:13 -0500 To: Linus Torvalds In-Reply-To: (Linus Torvalds's message of "Sun, 5 Feb 2006 14:03:43 -0800 (PST)") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Linus Torvalds writes: > Btw, I think the exact same holds true for the "show_file()" case. > > You had added a special-case for a similar problem (the "lstat()" check) > to disable the check when the path wasn't actually printed out. Strictly > speaking, I think that should be handled the same way wrt "verify" too. > > Ie something like this. > > Comments? Applied, thanks.