Skip to content

Commit d9811c0

Browse files
committed
fixup! Merge pull request git-for-windows#3236 from dscho/no-fsmonitor-in-bare-repos
In preparation for updating to FSMonitor v4, let's revert this. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 1abb447 commit d9811c0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2519,12 +2519,6 @@ int git_config_get_max_percent_split_change(void)
25192519

25202520
int repo_config_get_fsmonitor(struct repository *r)
25212521
{
2522-
if (!r->worktree) {
2523-
/* FSMonitor makes no sense in bare repositories */
2524-
core_fsmonitor = NULL;
2525-
return 1;
2526-
}
2527-
25282522
if (r->settings.use_builtin_fsmonitor > 0) {
25292523
core_fsmonitor = "(built-in daemon)";
25302524
return 1;

0 commit comments

Comments
 (0)