Re: [PATCH] Add a notice to the doc of git-ls-tree.
On Sun, Jul 20, 2008 at 09:28:59PM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> 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