From: Petr Baudis Date: Mon, 21 Jul 2008 07:47:28 GMT Subject: Re: [PATCH] Add a notice to the doc of git-ls-tree. Message-ID: <20080721074728.GM10151@machine.or.cz> In-Reply-To: <7vljzvyi5w.fsf@gitster.siamese.dyndns.org> On Sun, Jul 20, 2008 at 09:28:59PM -0700, Junio C Hamano wrote: > Sorry, I may have been unclear. I meant "showing relative to tree-root, > unlike showing relative to cwd like we have done forever". > > Changing the behaviour would affect usage like this: > > $ cd some/where > $ git ls-files > $ git ls-tree --name-only -r HEAD^ > > cf. http://thread.gmane.org/gmane.comp.version-control.git/13028/focus=13080 Yes, as I said, by now I agree that this is not acceptable, and thus opted for just documenting the behaviour. :-) Petr "Pasky" Baudis