add infrastructure for read-only file system level caches
commite4629442a402cbea7d7a9ea6073f7b41ab3edd63
authorKarsten Blees <blees@dcon.de>
Sun, 8 Sep 2013 12:23:27 +0000 (8 14:23 +0200)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:42:36 +0000 (29 10:42 +0200)
treeacc18ba639c204c9e02c00fdea8582c9dcf724b7
parent0ac3c91323cc2541bc4faa866112e84464335952
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