summaryrefslogtreecommitdiffstats
path: root/fsmonitor-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'fsmonitor-settings.c')
-rw-r--r--fsmonitor-settings.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fsmonitor-settings.c b/fsmonitor-settings.c
index f67db913f5..600ae165ab 100644
--- a/fsmonitor-settings.c
+++ b/fsmonitor-settings.c
@@ -207,6 +207,12 @@ char *fsm_settings__get_incompatible_msg(const struct repository *r,
_("bare repository '%s' is incompatible with fsmonitor"),
xgetcwd());
goto done;
+
+ case FSMONITOR_REASON_VFS4GIT:
+ strbuf_addf(&msg,
+ _("virtual repository '%s' is incompatible with fsmonitor"),
+ r->worktree);
+ goto done;
}
BUG("Unhandled case in fsm_settings__get_incompatible_msg: '%d'",