From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] index: be careful when handling long names Date: Mon, 14 Jan 2008 13:03:15 -0800 Message-ID: <7vejckjf1o.fsf@gitster.siamese.dyndns.org> References: <7vtzliqh3u.fsf@gitster.siamese.dyndns.org> <7vd4s6qal0.fsf@gitster.siamese.dyndns.org> <7vsl11plbe.fsf@gitster.siamese.dyndns.org> <7vhchhpd3h.fsf_-_@gitster.siamese.dyndns.org> <20080113225321.GA19970@steel.home> <7v4pdhpbmw.fsf@gitster.siamese.dyndns.org> <20080113233323.GB19970@steel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Git Mailing List To: Alex Riesen X-From: git-owner@vger.kernel.org Mon Jan 14 22:03:58 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 1JEWTJ-0002hm-F8 for gcvg-git-2@gmane.org; Mon, 14 Jan 2008 22:03:53 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753337AbYANVDZ (ORCPT ); Mon, 14 Jan 2008 16:03:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753344AbYANVDZ (ORCPT ); Mon, 14 Jan 2008 16:03:25 -0500 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:46284 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752212AbYANVDY (ORCPT ); Mon, 14 Jan 2008 16:03:24 -0500 Received: from a-sasl-quonix (localhost [127.0.0.1]) by a-sasl-quonix.pobox.com (Postfix) with ESMTP id 8BADE6A65; Mon, 14 Jan 2008 16:03:22 -0500 (EST) Received: from pobox.com (ip68-225-240-77.oc.oc.cox.net [68.225.240.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.pobox.com (Postfix) with ESMTP id 065F86A64; Mon, 14 Jan 2008 16:03:18 -0500 (EST) In-Reply-To: <20080113233323.GB19970@steel.home> (Alex Riesen's message of "Mon, 14 Jan 2008 00:33:23 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Alex Riesen writes: > Junio C Hamano, Mon, Jan 14, 2008 00:08:07 +0100: > ... >> I would agree that it might overflow the argument limit when >> this is given to "echo", though. We cannot do much about it, >> but you may have cleverer ideas. > > I thought about conditionally disabling the test, like it was done > when the tabs in filenames had to be tested. Yes, we can and should do that when somebody reports this (or any other tests) a real issue, as we have done for other tests.