add infrastructure for read-only file system level caches
commit658d848289407d6a97f0abf7f79fa5c70e9ffa10
authorKarsten Blees <blees@dcon.de>
Sun, 8 Sep 2013 12:23:27 +0000 (8 14:23 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 10 May 2014 21:56:57 +0000 (10 16:56 -0500)
treeca977730cb71987985aac43cc9d13c74c0adb66a
parent177f20e284d368cc4c6624d5eb2f1b486fd79936
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