Skip to content

Commit cfa0c45

Browse files
committed
fixup! fsmonitor--daemon: use a cookie file to sync with file system
When the built-in FSMonitor receives an invalid v2 token, we do not actually need to wait for a cookie file. There simply is no use for waiting in this instance. It's not like the client will all of a sudden realize that it sent an incorrect token and somehow make up a correct token from thin air in a follow-up query. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 92392da commit cfa0c45

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

builtin/fsmonitor--daemon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,6 @@ static int do_handle_client(struct fsmonitor_daemon_state *state,
694694
"fsmonitor: invalid V2 protocol token '%s'",
695695
command);
696696
do_trivial = 1;
697-
do_cookie = 1;
698697

699698
} else {
700699
/*

0 commit comments

Comments
 (0)