diff options
Diffstat (limited to 'sparse-index.c')
-rw-r--r-- | sparse-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sparse-index.c b/sparse-index.c index 8c269dab80..65a08d33c7 100644 --- a/sparse-index.c +++ b/sparse-index.c @@ -547,7 +547,7 @@ void expand_to_path(struct index_state *istate, if (in_expand_to_path) return; - if (!istate || !istate->sparse_index) + if (!istate->sparse_index) return; if (!istate->repo) |