lambdalisue / vim-fern-git-status

🌿 Add Git status badge integration on file:// scheme on fern.vim
MIT License
87 stars 6 forks source link

Performance tip: recommend `git config feature.manyFiles true` for large repositories #7

Closed bluz71 closed 4 years ago

bluz71 commented 4 years ago

Hello,

fern-git-status has a performance section in the front page README. That is helpful.

I suggest the following addition which really does help for Linux Kernel sized repositories:

For large repositories it is also recommended to enable the Git (2.24+) manyFiles feature:

git config feature.manyFiles true
lambdalisue commented 4 years ago

I didn't know that thanks 👍

bluz71 commented 4 years ago

This Git enhancement was done by Microsoft about a year ago in this commit:

https://github.com/git/git/commit/c6cc4c5afd2efd5f8081a3839b48d003de4e094f

It really does help git status performance in big repositories. Hence it also helps fern as well. Best to let fern-git-status users know about this.

bluz71 commented 4 years ago

@lambdalisue,

Do you want me to do create a PR?

If so, I will create one tomorrow.

lambdalisue commented 4 years ago

That's awesome! Yes, please.