diff options
| author | srz_zumix <zumix.cpp@gmail.com> | 2022-11-08 05:25:19 +0000 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2022-11-08 16:36:09 -0500 |
| commit | ee0e7fc927c309e3ed1d46f7ba970b79d3a38514 (patch) | |
| tree | 05cf1c7105be66e81d40aaff0efb2abc0295ca7f /diff.c | |
| parent | The tenth batch (diff) | |
| download | git-ee0e7fc927c309e3ed1d46f7ba970b79d3a38514.tar.gz git-ee0e7fc927c309e3ed1d46f7ba970b79d3a38514.zip | |
fsmonitor--daemon: on macOS support symlink
Resolves a problem where symbolic links were not showing up in diff when
created or modified.
kFSEventStreamEventFlagItemIsSymlink is also treated as a file update.
This is because kFSEventStreamEventFlagItemIsFile is not included in
FSEvents when creating or deleting symbolic links. For example:
$ ln -snf t test
fsevent: '/path/to/dir/test', flags=0x40100 ItemCreated|ItemIsSymlink|
$ ln -snf ci test
fsevent: '/path/to/dir/test', flags=0x40200 ItemIsSymlink|ItemRemoved|
fsevent: '/path/to/dir/test', flags=0x40100 ItemCreated|ItemIsSymlink|
Signed-off-by: srz_zumix <zumix.cpp@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions
