summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-19 13:34:03 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-19 13:34:03 +0900
commite27bfaaee37c4c9d7e94f945f82c3e452d2dc071 (patch)
treeb9714515dd504b5d4cff12f4ea53df1a879cb28c /config.h
parentMerge branch 'bp/rename-test-env-var' (diff)
parentread-cache: load cache entries on worker threads (diff)
downloadtgif-e27bfaaee37c4c9d7e94f945f82c3e452d2dc071.tar.xz
Merge branch 'bp/read-cache-parallel'
A new extension to the index file has been introduced, which allows the file to be read in parallel. * bp/read-cache-parallel: read-cache: load cache entries on worker threads ieot: add Index Entry Offset Table (IEOT) extension read-cache: load cache extensions on a worker thread config: add new index.threads config setting eoie: add End of Index Entry (EOIE) extension read-cache: clean up casting and byte decoding read-cache.c: optimize reading index format v4
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index ab46e0165d..a06027e69b 100644
--- a/config.h
+++ b/config.h
@@ -250,6 +250,7 @@ extern int git_config_get_untracked_cache(void);
extern int git_config_get_split_index(void);
extern int git_config_get_max_percent_split_change(void);
extern int git_config_get_fsmonitor(void);
+extern int git_config_get_index_threads(void);
/* This dies if the configured or default date is in the future */
extern int git_config_get_expiry(const char *key, const char **output);