gitoxide icon indicating copy to clipboard operation
gitoxide copied to clipboard

Question: Avoid unnecessary IO calls - use shallow/sparse technique from VFSForGit

Open tikyanatwork opened this issue 5 years ago • 6 comments

I just found this project today and have a question does gitoxide already have the improvements suggested and made in VFS for git?

tikyanatwork avatar Jan 07 '21 21:01 tikyanatwork

No, it doesn’t.

Please note I couldn’t check the website as it’s certificate was expired for 42 days.

Byron avatar Jan 08 '21 00:01 Byron

I assume that's the same as https://github.com/Microsoft/VFSForGit

bkhl avatar Jan 08 '21 04:01 bkhl

Yes, it's definitely enough to get an understanding. From what I see, there is the VFS portion which runs on windows, along with a modified version (maybe these are upstream already) of git that avoids doing any unnecessary IO calls. If care is taken and once shallow/sparse (?) checkouts are supported here, at least in theory VFS should work just as well. After all it modifies the repository's data structures directly, affecting each git or gitoxide invocation accordingly.

Once this implementation is feature-complete enough, it would definitely be worth trying out.

Byron avatar Jan 08 '21 04:01 Byron

@Byron do you want to keep this open? Now that you have good understanding and it seems like it is an enhancement.

tikyanatwork avatar Jan 08 '21 14:01 tikyanatwork

Great to hear! The issue was closed a while ago, and I think it can be posted again once a little more of the required features are available.

Byron avatar Jan 08 '21 15:01 Byron

@Byron , sounds good.

tikyanatwork avatar Jan 08 '21 15:01 tikyanatwork