From: Junio C Hamano Date: Sun, 20 Jul 2008 23:53:02 GMT Subject: Re: [PATCH] Add a notice to the doc of git-ls-tree. Message-ID: <7vtzek15b5.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7vy73w16nj.fsf@gitster.siamese.dyndns.org> 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)).