[RFC 0/2] Separate stat_data from cache_entry
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- May 13, 2013, 03:00 UTC
- Message-ID
- <1368414007-3819-1-git-send-email-mhagger@alum.mit.edu>
- In-Reply-To
- <5190500E.8060907@alum.mit.edu>
This series is a possible replacement for Peff's
"[PATCH 2/4] add a stat_validity struct"
that doesn't misuse the cache_entry too much in the implementation of the new functions. It is only interesting in the context of Peff's series (or something like it), or if there are other places where somebody wants to be able to tell whether a file has changed since it was last checked.
Michael
Michael Haggerty (2): Extract a struct stat_data from cache_entry add a stat_validity struct
builtin/ls-files.c | 12 ++-- cache.h | 60 +++++++++++++++-- read-cache.c | 191 ++++++++++++++++++++++++++++++++++------------------- 3 files changed, 183 insertions(+), 80 deletions(-)
-- 1.8.2.2