add infrastructure for read-only file system level caches
commit119a8f8656036d398076d472ff7197e17b7a49e0
authorKarsten Blees <blees@dcon.de>
Sun, 8 Sep 2013 12:23:27 +0000 (8 14:23 +0200)
committerKarsten Blees <blees@dcon.de>
Sat, 16 Aug 2014 01:02:59 +0000 (16 03:02 +0200)
treee4e723e0a4c5627e61d9405421699f42e8d6e4e0
parent7f5b617c612b7725706a5f994475393c029589fe
add infrastructure for read-only file system level caches

Add a macro to mark code sections that only read from the file system,
along with a config option and documentation.

This facilitates implementation of relatively simple file system level
caches without the need to synchronize with the file system.

Enable read-only sections for 'git status' and preload_index.

Signed-off-by: Karsten Blees <blees@dcon.de>
Documentation/config.txt
builtin/commit.c
cache.h
config.c
environment.c
git-compat-util.h
preload-index.c