@@ -1227,18 +1227,18 @@ int cmd_update_index(int argc, const char **argv, const char *prefix)
if (fsmonitor > 0) {
enum fsmonitor_mode fsm_mode = fsm_settings__get_mode(r);
if (fsm_mode == FSMONITOR_MODE_DISABLED) {
- warning(_("core.fsmonitor is unset; "
- "set it if you really want to "
- "enable fsmonitor"));
+ advise(_("core.fsmonitor is unset; "
+ "set it if you really want to "
+ "enable fsmonitor"));
}
add_fsmonitor(&the_index);
report(_("fsmonitor enabled"));
} else if (!fsmonitor) {
enum fsmonitor_mode fsm_mode = fsm_settings__get_mode(r);
if (fsm_mode > FSMONITOR_MODE_DISABLED)
- warning(_("core.fsmonitor is set; "
- "remove it if you really want to "
- "disable fsmonitor"));
+ advise(_("core.fsmonitor is set; "
+ "remove it if you really want to "
+ "disable fsmonitor"));
remove_fsmonitor(&the_index);
report(_("fsmonitor disabled"));
}