lstat_cache(): introduce invalidate_lstat_cache() function
authorKjetil Barvik <barvik@broadpark.no>
Sun, 18 Jan 2009 15:14:53 +0000 (16:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Jan 2009 21:58:31 +0000 (13:58 -0800)
commitaeabab5c712d5acae4a2836272d641acbb87b893
treee9f841e9c13ee1b92da97143fca8063a82213845
parentbad4a54fa6fe8a9bbdfb5c3e413268eefde69b75
lstat_cache(): introduce invalidate_lstat_cache() function

In some cases it could maybe be necessary to say to the cache that
"Hey, I deleted/changed the type of this pathname and if you currently
have it inside your cache, you should deleted it".

This patch introduce a function which support this.

Signed-off-by: Kjetil Barvik <barvik@broadpark.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
symlinks.c