summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorBen Peart <benpeart@microsoft.com>2018-09-18 23:29:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-28 18:40:38 (GMT)
commit4cb54d0aa8e2b8de6f6bafd5c2baad0db5ce9dc7 (patch)
treeb2f76219d4bedfce84df037b2513a8f1b6d8a0af /config.c
parent5aacc63f1e8414a12105faa7647c4c11f8acd02d (diff)
downloadgit-4cb54d0aa8e2b8de6f6bafd5c2baad0db5ce9dc7.zip
git-4cb54d0aa8e2b8de6f6bafd5c2baad0db5ce9dc7.tar.gz
git-4cb54d0aa8e2b8de6f6bafd5c2baad0db5ce9dc7.tar.bz2
fsmonitor: update GIT_TEST_FSMONITOR support
Rename GIT_FSMONITOR_TEST to GIT_TEST_FSMONITOR for consistency with the other GIT_TEST_ special setups and properly document its use. Add logic in t/test-lib.sh to give a warning when the old variable is set to let people know they need to update their environment to use the new variable. Remove the outdated instructions on how to run the test suite utilizing fsmonitor now that it is properly documented in t/README. Signed-off-by: Ben Peart <Ben.Peart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 3461993..3555c63 100644
--- a/config.c
+++ b/config.c
@@ -2278,7 +2278,7 @@ int git_config_get_max_percent_split_change(void)
int git_config_get_fsmonitor(void)
{
if (git_config_get_pathname("core.fsmonitor", &core_fsmonitor))
- core_fsmonitor = getenv("GIT_FSMONITOR_TEST");
+ core_fsmonitor = getenv("GIT_TEST_FSMONITOR");
if (core_fsmonitor && !*core_fsmonitor)
core_fsmonitor = NULL;