read-cache.c: extend make_cache_entry refresh flag with options
commit257627268ad19cb616ad3feb6ca8171d400df287
authorBrad King <brad.king@kitware.com>
Mon, 27 Jan 2014 14:45:08 +0000 (27 09:45 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:31:17 +0000 (24 14:31 -0800)
tree66fa303f10673ddcc07878056bf3c800c7898f78
parent2e2e7ec1ef567ac0a4ad8294ada15836661e6589
read-cache.c: extend make_cache_entry refresh flag with options

Convert the make_cache_entry boolean 'refresh' argument to a more
general 'refresh_options' argument.  Pass the value through to the
underlying refresh_cache_ent call.  Add option CE_MATCH_REFRESH to
enable stat refresh.  Update call sites to use the new signature.

Signed-off-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
merge-recursive.c
read-cache.c