Re: [PATCH] Add a notice to the doc of git-ls-tree.
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:59
Petr Baudis [off-list ref] writes:
On Sun, Jul 20, 2008 at 05:14:16PM -0700, Junio C Hamano wrote:quoted
I never thought you would think "showing relative to tree-root" is even an option.I assume you mean "not filtering relative to tree-root"?
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