read-cache: teach refresh_cache_entry to take istate
authorJameson Miller <jamill@microsoft.com>
Mon, 2 Jul 2018 19:49:29 +0000 (19:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2018 17:58:15 +0000 (10:58 -0700)
commit768d7965068189ec5287ac53b4b55bfd443bb456
treed7e6fc5e2e8fd15d3207c7155965bcc1f12a1fac
parent53f9a3e157dbbc901a02ac2c73346d375e24978c
read-cache: teach refresh_cache_entry to take istate

Refactor refresh_cache_entry() to work on a specific index, instead of
implicitly using the_index. This is in preparation for making the
make_cache_entry function apply to a specific index.

Signed-off-by: Jameson Miller <jamill@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
merge-recursive.c
read-cache.c