mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 05:37:55 -05:00
Previously we would only pass the repository’s root to scm::info, and thus the check on the path passed in was enough, but today we are passing in paths for which we do not yet know the repository root, so the check should (also) be done for the path that ends up containing version control meta data. We still do the initial check since it also rejects non-local paths, thus avoiding stat’ing paths on network file systems.