summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2017-02-27 18:00:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-01 21:24:22 (GMT)
commit72dcb7b3607e3349ac3367dc804b62ce1556842b (patch)
tree82ba8d6b770ea7726a877f8d17f791acbc4391a7 /cache.h
parent13c0e4c4782976fbda24fdde31d67ef29f41cb34 (diff)
downloadgit-72dcb7b3607e3349ac3367dc804b62ce1556842b.zip
git-72dcb7b3607e3349ac3367dc804b62ce1556842b.tar.gz
git-72dcb7b3607e3349ac3367dc804b62ce1556842b.tar.bz2
config: add git_config_get_max_percent_split_change()
This new function will be used in a following commit to get the value of the "splitIndex.maxPercentChange" config variable. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index c126fe4..e15b421 100644
--- a/cache.h
+++ b/cache.h
@@ -1822,6 +1822,7 @@ extern int git_config_get_maybe_bool(const char *key, int *dest);
extern int git_config_get_pathname(const char *key, const char **dest);
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);
/*
* This is a hack for test programs like test-dump-untracked-cache to