From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] Add a notice to the doc of git-ls-tree. Date: Sun, 20 Jul 2008 16:53:02 -0700 Message-ID: <7vtzek15b5.fsf@gitster.siamese.dyndns.org> References: <1216592735-23789-1-git-send-email-code@istique.net> <20080720230846.GH32184@machine.or.cz> <7vy73w16nj.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Steve =?utf-8?Q?Fr=C3=A9cinaux?= , git@vger.kernel.org To: Petr Baudis X-From: git-owner@vger.kernel.org Mon Jul 21 01:54: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 1KKijD-0003jX-I1 for gcvg-git-2@gmane.org; Mon, 21 Jul 2008 01:54:11 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753707AbYGTXxL (ORCPT ); Sun, 20 Jul 2008 19:53:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753790AbYGTXxK (ORCPT ); Sun, 20 Jul 2008 19:53:10 -0400 Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:43402 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155AbYGTXxJ (ORCPT ); Sun, 20 Jul 2008 19:53:09 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 54DFA3804D; Sun, 20 Jul 2008 19:53:08 -0400 (EDT) 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-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id B02EC3804C; Sun, 20 Jul 2008 19:53:04 -0400 (EDT) In-Reply-To: <7vy73w16nj.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Sun, 20 Jul 2008 16:24:00 -0700") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: 00CBF54C-56B7-11DD-B32E-CE28B26B55AE-77302942!a-sasl-fastnet.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano writes: > Petr Baudis writes: > >> I think that ls-tree simply shouldn't auto-fill its pathspec based on >> current prefix in case no pathspec was supplied. Patch to follow. > > Have you dug the list archive from mid-to-late December 2005 that prompted > the current behaviour (and introduction of --full-name)? I haven't. Now, I did: http://thread.gmane.org/gmane.comp.version-control.git/13028/focus=13135 I think the answer is --full-name (cf. a69dd58 (ls-tree: chomp leading directories when run from a subdirectory, 2005-12-23)).