From: Junio C Hamano Date: Fri, 22 Oct 2010 18:30:20 GMT Subject: Re: [PATCH 5/7] ls-files -h: show usage even with corrupt index Message-ID: <7v1v7inkqr.fsf@alter.siamese.dyndns.org> In-Reply-To: <20101022064814.GF6081@burratino> Jonathan Nieder writes: > +test_expect_success 'ls-files with nonexistent path' ' > + git ls-files doesnotexist >actual && > + test_cmp empty actual > +' This technically is not "nonexistent path" but is "a pathspec that matches nothing".