[client] land new changes of new-sync for osx
important change in 24a679f is
Thanks for merge!
should kFSEventStreamEventFlagMustScanSubDirs be handled here?
It is a unusual flag (not so common used), and i believe you'd better have a try yourself. Although i wrote these code, i have nothing to do with these code now because patches have been not accepted since a long time ago. Besides, i thinks it will come with a lot of new events to be handled.
the argument info->worktree seems redundant here.