Re: [PATCH 5/7] ls-files -h: show usage even with corrupt index
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 22, 2010, 18:30 UTC
- Message-ID
- <7v1v7inkqr.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20101022064814.GF6081@burratino>
Jonathan Nieder <jrnieder@gmail.com> 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".