Skip to content

chore(git): cache git toplevel #1456

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

Closed
wants to merge 1 commit into from
Closed

Conversation

alex-courtis
Copy link
Member

I'm glad I added profiling for git utils... we call get_toplevel all the time!

@@ -3,7 +3,13 @@ local log = require "nvim-tree.log"

local has_cygpath = vim.fn.executable "cygpath" == 1

local toplevels = {}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no value in purging these caches.

@alex-courtis alex-courtis requested a review from kyazdani42 July 24, 2022 04:06
@alex-courtis
Copy link
Member Author

superceeded by #1457

@alex-courtis alex-courtis deleted the chore/cache-git-toplevel branch December 16, 2022 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant