Extract a struct stat_data from cache_entry
commitc21d39d7c7eb07eed0be301a72856bff65201256
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 20 Jun 2013 08:37:50 +0000 (20 10:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2013 22:50:17 +0000 (20 15:50 -0700)
tree694012453e32b8ff4f241319e6fdc8836abb3fa6
parent4f6b83e3708943c3b3f4ac911da7d0c30019c20a
Extract a struct stat_data from cache_entry

Add public functions fill_stat_data() and match_stat_data() to work
with it.  This infrastructure will later be used to check the validity
of other types of file.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-files.c
cache.h
read-cache.c