Skip to content

Commit 92392da

Browse files
committed
fixup! fsmonitor--daemon: use a cookie file to sync with file system
When the built-in FSMonitor receives an unexpected 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 5ec07b8 commit 92392da

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
@@ -685,7 +685,6 @@ static int do_handle_client(struct fsmonitor_daemon_state *state,
685685
"fsmonitor: unsupported V1 protocol '%s'"),
686686
command);
687687
do_trivial = 1;
688-
do_cookie = 1;
689688

690689
} else {
691690
/* We have "builtin:*" */

0 commit comments

Comments
 (0)