Skip to content

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

Draft
derrickstolee wants to merge 1 commit intomicrosoft:vfs-2.53.0from
derrickstolee:recreate-cache
Draft

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

Conversation

@derrickstolee
Copy link

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.

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>
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.

1 participant