add infrastructure for read-only file system level caches
commitaab5bc18ec26c72f844894baafac2db2178b8217
authorKarsten Blees <blees@dcon.de>
Sun, 8 Sep 2013 12:23:27 +0000 (8 14:23 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 10 Apr 2014 18:53:40 +0000 (10 13:53 -0500)
tree7e6c8bc68aec611b2a133a833c6b3f488927d098
parentbc15c2c58e4b337192c50cf721d4dd385b05fded
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