From: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> fixup! fsmonitor: config settings are repository-specific Signed-off-by: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> --- fsmonitor-settings.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fsmonitor-settings.c b/fsmonitor-settings.c index 3b54e7a51f6..757d230d538 100644 --- a/fsmonitor-settings.c +++ b/fsmonitor-settings.c @@ -22,11 +22,10 @@ static void lookup_fsmonitor_settings(struct repository *r) return; CALLOC_ARRAY(s, 1); + s->mode = FSMONITOR_MODE_DISABLED; r->settings.fsmonitor = s; - fsm_settings__set_disabled(r); - /* * Overload the existing "core.fsmonitor" config setting (which * has historically been either unset or a hook pathname) to -- gitgitgadget