]> git.99rst.org Git - git.git/commit
cache: move ensure_full_index() to cache.h
authorDerrick Stolee <redacted>
Thu, 1 Apr 2021 01:49:41 +0000 (01:49 +0000)
committerJunio C Hamano <redacted>
Wed, 14 Apr 2021 20:46:41 +0000 (13:46 -0700)
commit118a2e8bde0982d219607ff9f260b9cfeb25585c
tree7a1452685d7928884e7a40d7a7bff48d283f0f5d
parent95e0321c4dbb81eca5dc1c6f96b176b00a0368d7
cache: move ensure_full_index() to cache.h

Soon we will insert ensure_full_index() calls across the codebase.
Instead of also adding include statements for sparse-index.h, let's just
use the fact that anything that cares about the index already has
cache.h in its includes.

Signed-off-by: Derrick Stolee <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
cache.h
sparse-index.h
git clone https://git.99rst.org/PROJECT