From: Junio C Hamano Date: Fri, 08 Jan 2010 16:45:55 GMT Subject: Re: Possible bug in git-completion.sh Message-ID: <7vskag1r5o.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100108164132.GA6171@coredump.intra.peff.net> Jeff King writes: > Well, yes, if you wanted to compare apples to apples. But actually, my > point in showing "status" at all was to note that Michael's statement > that they would be the same is wrong. > > But just looking at the ls-files output, do you not agree that there is > a bug? If I agreed, I wouldn't have suggested _you_ to cd up and use pathspec, but instead would have suggested to patch ls-files to make it do so for you. You can see it as a feature that you can use to check what would happen if you stopped ignoring the directory from the higher level. With a patch to always cd-up and use pathspec, that will become impossible. Maybe nobody needs such a feature (I don't), in which case we can declare it as a bug. But I wasn't ready to do so myself when I wrote the message you are responding to, and I still am not.