read-cache.c: refactor --ignore-missing implementation
commit2e2e7ec1ef567ac0a4ad8294ada15836661e6589
authorBrad King <brad.king@kitware.com>
Mon, 27 Jan 2014 14:45:07 +0000 (27 09:45 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:31:10 +0000 (24 14:31 -0800)
tree7249fb30c8d7c927de067363bb80524dcea93e7f
parent29d9af586ba3ee1e6df1dc070f42ea659ad77cc2
read-cache.c: refactor --ignore-missing implementation

Move lstat ENOENT handling from refresh_index to refresh_cache_ent and
activate it with a new CE_MATCH_IGNORE_MISSING option.  This will allow
other call paths into refresh_cache_ent to use the feature.

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