read-cache: let refresh_cache_ent pass up changed flags
authorJeff King <peff@peff.net>
Fri, 18 Nov 2011 11:11:08 +0000 (06:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Nov 2011 19:53:46 +0000 (11:53 -0800)
commitd05e69701053c0cf786e99251879f860702374b7
treed18b0e3580d4e4a75f7763dbafebc60414a3332f
parentbc1bbe0c19a6ff39522b4fa3259f34150e308e1f
read-cache: let refresh_cache_ent pass up changed flags

This will enable refresh_cache to differentiate more cases
of modification (such as typechange) when telling the user
what isn't fresh.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c