Re: [PATCH 6/8] ls-tree: work from subdirectory.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 28, 2005, 08:32 UTC
- Message-ID
- <7v64qdyxxx.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0511272219420.13959@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 13 quoted lines
> 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.