From: Junio C Hamano Date: Fri, 06 Jan 2006 22:38:17 GMT Subject: Re: git-ls-files -o no recurse? Message-ID: <7vk6ddq8x2.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > 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.