diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-11-23 05:22:25 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-11-23 05:22:25 +0300 |
commit | 8d7b35b43df56bacd005492402c6a583284c0fec (patch) | |
tree | ea4351868ee312f27f052ac67078689956ad0b59 /compat/fsmonitor/fsm-listen-darwin.c | |
parent | a655f28a7a2e4c78ee93f799b92545cbf783a109 (diff) | |
parent | ee0e7fc927c309e3ed1d46f7ba970b79d3a38514 (diff) |
Merge branch 'sz/macos-fsmonitor-symlinks'
Fix an issue where core.fsmonitor on macOS would not notice created
or modified symbolic links.
* sz/macos-fsmonitor-symlinks:
fsmonitor--daemon: on macOS support symlink
Diffstat (limited to 'compat/fsmonitor/fsm-listen-darwin.c')
-rw-r--r-- | compat/fsmonitor/fsm-listen-darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/fsmonitor/fsm-listen-darwin.c b/compat/fsmonitor/fsm-listen-darwin.c index daeee4e465..cc9af1e3cb 100644 --- a/compat/fsmonitor/fsm-listen-darwin.c +++ b/compat/fsmonitor/fsm-listen-darwin.c @@ -336,7 +336,7 @@ static void fsevent_callback(ConstFSEventStreamRef streamRef, * know how much to invalidate/refresh. */ - if (event_flags[k] & kFSEventStreamEventFlagItemIsFile) { + if (event_flags[k] & (kFSEventStreamEventFlagItemIsFile | kFSEventStreamEventFlagItemIsSymlink)) { const char *rel = path_k + state->path_worktree_watch.len + 1; |