Re: [PATCH] Add a notice to the doc of git-ls-tree.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 21, 2008, 04:28 UTC
- Message-ID
- <7vljzvyi5w.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080721002248.GJ10151@machine.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 5 quoted lines
> On Sun, Jul 20, 2008 at 05:14:16PM -0700, Junio C Hamano wrote: >> 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