mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-14 16:07:52 +00:00
Comparing the project with the server (sync before a run, Sync with Deployed) listed the remote tree folder by folder over SFTP: thousands of round trips on a big project, even when nothing had changed. Over SSH it now runs one GNU `find -printf` for the whole tree, pruning folders the deployment excludes by a plain name pattern, and keeps the same entries the walk would (excluded names anywhere in the path, excluded remote paths). Hosts without GNU find (BusyBox), an unreadable folder, or FTP list folder by folder as before. Refs #2873