Skip to content

Skip repo info diff for VFS and sparse checkout enlistments#4308

Draft
tyrielv wants to merge 1 commit intomicrosoft:mainfrom
tyrielv:tyrielv/propose-no-gvfs-diff
Draft

Skip repo info diff for VFS and sparse checkout enlistments#4308
tyrielv wants to merge 1 commit intomicrosoft:mainfrom
tyrielv:tyrielv/propose-no-gvfs-diff

Conversation

@tyrielv
Copy link

@tyrielv tyrielv commented Mar 9, 2026

VFS (core.virtualfilesystem) and sparse checkout (core.sparsecheckout) repos are unlikely to have all blobs available locally, making diff operations expensive or impossible. Return early with a 'virtualFileSystem' result when either git config key is set.

VFS (core.virtualfilesystem) and sparse checkout (core.sparsecheckout)
repos are unlikely to have all blobs available locally, making diff
operations expensive or impossible. Return early with a
'virtualFileSystem' result when either git config key is set.
@tyrielv tyrielv force-pushed the tyrielv/propose-no-gvfs-diff branch from f73aef6 to 6fb9aba Compare March 9, 2026 23:00
@tyrielv
Copy link
Author

tyrielv commented Mar 9, 2026

This is one proposal for fixing the performance issues that VFS users in large repositories are seeing with this extension. I have another at #4309.

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.

2 participants