]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pathspec.c
reftable: add dump utility
[thirdparty/git.git] / pathspec.c
index 08f8d3eedc39aa46e8bf3a4cba3220ba9b4e74ab..44306fdaca2ee817c64b50089a25a2a35748cc34 100644 (file)
@@ -37,8 +37,6 @@ void add_pathspec_matches_against_index(const struct pathspec *pathspec,
                        num_unmatched++;
        if (!num_unmatched)
                return;
-       /* TODO: audit for interaction with sparse-index. */
-       ensure_full_index(istate);
        for (i = 0; i < istate->cache_nr; i++) {
                const struct cache_entry *ce = istate->cache[i];
                if (sw_action == PS_IGNORE_SKIP_WORKTREE && ce_skip_worktree(ce))