Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 6/8] ls-tree: work from subdirectory.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:13

Linus Torvalds [off-list ref] writes:
BTW! It fails a few of the tests, but it does so because now, with "-r", 
it will never show the tree entries, and because of the difference between

	git-ls-tree $tree path

and

	git-ls-tree $tree path/

that it didn't use to have (oh, and if you give multiple paths, it will 
now always consider them a "union pathspec", not an "iteration of paths"). 
But I _think_ the new behaviour is pretty useful and while not the same as 
"ls", it's perhaps still intuitive enough..
The difference between path and path/ is very cute ;-).  I do
not do Porcelain myself, so I am OK with this change, but this
would involve some changes to the Porcelain.

So let's cook this for a while and have Porcelain people holler
if they find something lacking.  I'll put this in the proposed
updates tonight, and we will plan to push everything in the
proposed updates branch to the master branch on Wednesday, with
any fixes and updates necessary.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help