diff options
| author | Stefan Beller <sbeller@google.com> | 2018-05-14 18:04:25 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-05-16 09:48:32 +0900 |
| commit | b2aa84c789a032c60b81d6ad68527e3a9076b99b (patch) | |
| tree | fa87d4910690ad5e0c745e3a6c3e73a0f6a71952 /t/helper/test-lazy-init-name-hash.c | |
| parent | 3013dff8662eae06457fe6e5348dfe2270810ab2 (diff) | |
grep: handle corrupt index files early
Any other caller of 'repo_read_index' dies upon a negative return of
it, so grep should, too.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-lazy-init-name-hash.c')
0 files changed, 0 insertions, 0 deletions
