Re: git-ls-files -o no recurse?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 6, 2006, 22:38 UTC
- Message-ID
- <7vk6ddq8x2.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0601041330550.3668@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> On Wed, 4 Jan 2006, Darrin Thompson wrote: >> >> Would it be hard to make git-ls-files optionally do this? > > Something like the appended may or may not be what you're looking for.. > > Linus
Not to mention test scripts, I suspect that making this the default would break existing callers including the famous "git-init-db && git-add ." pattern. The other commonplace use is git-status, which might benefit from this option. If we are going to use it in git-status, we may want to give them trailing slashes to make them stand out, though.