Skip to content

Commit

Permalink
Merge pull request #3827 from dscho/adjust-builtin-fsmonitor-advice
Browse files Browse the repository at this point in the history
Adjust the core.useBuiltinFSMonitor deprecation warning to make clearer
  • Loading branch information
dscho committed Apr 28, 2022
2 parents a8150f0 + 99e4fef commit dc88e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsmonitor-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ static int check_deprecated_builtin_config(struct repository *r)
core_use_builtin_fsmonitor) {
if (!git_env_bool("GIT_SUPPRESS_USEBUILTINFSMONITOR_ADVICE", 0)) {
advise_if_enabled(ADVICE_USE_CORE_FSMONITOR_CONFIG,
_("core.useBuiltinFSMonitor will be deprecated "
"soon; use core.fsmonitor instead"));
_("core.useBuiltinFSMonitor=true is deprecated;"
"please set core.fsmonitor=true instead"));
setenv("GIT_SUPPRESS_USEBUILTINFSMONITOR_ADVICE", "1", 1);
}
fsm_settings__set_ipc(r);
Expand Down

0 comments on commit dc88e3c

Please sign in to comment.