Skip to content

gvfs-helper: create shared object cache if missing#861

Merged
mjcheetham merged 1 commit intomicrosoft:vfs-2.53.0from
derrickstolee:recreate-cache
Mar 27, 2026
Merged

gvfs-helper: create shared object cache if missing#861
mjcheetham merged 1 commit intomicrosoft:vfs-2.53.0from
derrickstolee:recreate-cache

Conversation

@derrickstolee
Copy link
Copy Markdown

Users should be allowed to delete their shared cache and have it recreated on 'git fetch'. This change makes that happen by creating any leading directories and then creating the directory itself with mkdir().

Users may have had more instances of this due to #840, which advises deleting the shared cache on a mistaken assumption that it would be recreated on git fetch.

  • This change only applies to interactions with Azure DevOps and the
    GVFS Protocol.

@derrickstolee derrickstolee marked this pull request as ready for review March 16, 2026 16:37
Users should be allowed to delete their shared cache and have it
recreated on 'git fetch'. This change makes that happen by creating any
leading directories and then creating the directory itself with mkdir().

Add a test that exercises --local-cache-path for the first time and
checks this scenario.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
@mjcheetham mjcheetham merged commit fb711f2 into microsoft:vfs-2.53.0 Mar 27, 2026
22 of 23 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.

2 participants