mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-17 01:35:12 +00:00
040dbb2414
This commit adds a cache for Git repositories based on the path being queried. Its only immediate effect is that when you query the same directory twice (such as /testcases/git /testcases/git), it won’t need to check that the second one is a Git directory the second time. So, a minuscule optimisation for something you’d never do anyway? Wrong! It’s going to let us combine multiple entries over the same repository later, letting us use --tree and --recurse, because now Git scanning is behind a factory. |
||
---|---|---|
.. | ||
git.rs | ||
mod.rs | ||
xattr.rs |