-
-
Notifications
You must be signed in to change notification settings - Fork 619
Find File: Extraneous git status #2293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm able to reproduce the issue. 345ms in the above logs is the result of 6 possibly unnecessary git status calls, which are synchronous. |
#1731 #1723 #1716 were the drivers behind the the refresh:
Possibilities:
|
really thanks for your work! |
Thanks for pushing me on this one; you've surfaced a real performance issue that has not been visible until now. I'd be most grateful if you tested the fix for the next week: cd /path/to/nvim-tree.lua
git pull
git checkout 2293-find-file-extraneous-git-status-calls
|
I will try day after tomorrow |
Hi, @alex-courtis , this branch looks good to me, quite performant now! |
Description
When finding file a "git sync job" is performed for all directories up the tree. This is a performance problem.
Originating discussion: #2275
Neovim version
Operating system and version
Linux 6.3.9-arch1-1
nvim-tree version
3cc698b
Clean room replication
Steps to reproduce
Clone
[email protected]:torvalds/linux.git
Open nvim-tree
:e arch/powerpc/boot/dts/fsl/b4420qds.dt
Expected behavior
No response
Actual behavior
No response
The text was updated successfully, but these errors were encountered: