Skip to content

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

Merged
Matthew John Cheetham (mjcheetham) merged 1 commit into
microsoft:vfs-2.53.0from
derrickstolee:recreate-cache
Mar 27, 2026
Merged

Matthew John Cheetham (mjcheetham) merged 1 commit into
microsoft: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.

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
Matthew John Cheetham (mjcheetham) merged commit fb711f2 into microsoft:vfs-2.53.0 Mar 27, 2026
22 of 23 checks passed
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Apr 12, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Apr 17, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Apr 17, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Apr 20, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Apr 20, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Apr 20, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Jun 12, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Jun 12, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Jun 17, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
Johannes Schindelin (dscho) pushed a commit that referenced this pull request Sep 22, 2026
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`.

* [X] This change only applies to interactions with Azure DevOps and the
      GVFS Protocol.
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