Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote-https: do not call fetch-pack if using gvfs helper #240

Merged

Commits on Feb 4, 2020

  1. remote-curl: do not call fetch-pack when using gvfs-helper

    When using the GVFS protocol, we should _never_ call "git fetch-pack"
    to attempt downloading a pack-file via the regular Git protocol. It
    appears that the mechanism that prevented this in the VFS for Git
    world is due to the read-object hook populating the commits at the
    new ref tips in a different way than the gvfs-helper does.
    
    By acting as if the fetch-pack succeeds here in remote-curl, we
    prevent a failed fetch.
    
    Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
    derrickstolee committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    0aac91c View commit details
    Browse the repository at this point in the history