Re: [PATCH] Add a notice to the doc of git-ls-tree.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

Re: [PATCH] Add a notice to the doc of git-ls-tree.

From: Petr Baudis <hidden>
Date: 2016-06-15 22:44:59

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help