Skip to content

Conversation

@mjcheetham
Copy link
Member

tyrielv and others added 2 commits June 12, 2025 17:01
The GVFS protocol includes an index file along with pack file in the prefetch
workflow (primarily used on a new clone to fetch all commits and trees).

Currently, GVFS blindly accepts that index file.

This pull request changes GVFS prefetch to discard the index sent by the
server and always create an index locally. This provides improved security
and verification of the pack file, at the expense of performance for the first
clone of a repository on a new drive.
Always index locally for prefetch packs
@mjcheetham mjcheetham requested a review from dscho June 13, 2025 11:27
@mjcheetham mjcheetham merged commit edf6303 into releases/shipped Jun 13, 2025
10 checks passed
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.

4 participants