You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
I've seen this several times and it was also reported in #6799.
Open a project in Brackets
Using git on the command line, switch between two widely different branches in the project
Look at Brackets console log
Result:
A dozen or so warnings of the form "Unable to stat changed path: .git... NotFound"
Expected:
We're supposed to ignore churn inside the .git folder, so this is confusing and perhaps unnecessarily scary-looking.
As best I can tell it's actually harmless though: AppShellFileSystem._enqueueChange() fails to stat and then sends the change along to FileSystem anyway, where it is promptly dropped on the floor since that folder is filtered out by the watch-root's filter.
The text was updated successfully, but these errors were encountered:
We could fix this by passing the filter down into the impl so it can ignore paths like this. This should also increase efficiency since we're not wasting time running stat() calls (failed or otherwise) for churn inside .git. But we'd need to make sure it doesn't change the semantics of what happens when the user explicitly opens a file that's been filtered out.
PR #7332 eliminates the warning entirely for now. I view that as an interim fix since, ideally:
We wouldn't waste time trying to stat() churn inside folders like .git (which btw can churn quite a bit during a big fetch/pull/commit/etc.).
We still would warn if we failed to stat() something that was not filtered out of the watch root -- since failing to stat() means we drop the change notification on the floor, it's actually a fairly significant error in the not-filtered case.
I've seen this several times and it was also reported in #6799.
Result:
A dozen or so warnings of the form "Unable to stat changed path: .git... NotFound"
Expected:
We're supposed to ignore churn inside the .git folder, so this is confusing and perhaps unnecessarily scary-looking.
As best I can tell it's actually harmless though: AppShellFileSystem._enqueueChange() fails to stat and then sends the change along to FileSystem anyway, where it is promptly dropped on the floor since that folder is filtered out by the watch-root's filter.
The text was updated successfully, but these errors were encountered: