Skip to content

LFS fetches objects from wrong remote during pull #2105

@derrickstolee

Description

@derrickstolee

Test Setup:
The following setup requires two local copies of the repo (repo1, repo2) and two remote copies ("origin" and "dev").

  • Clone an LFS repo. The remote is "origin". Clone into both repo1 and repo2.
  • In repo1, change an LFS-tracked file and commit.
  • Create a new remote "dev" that points to a different location.
  • Push to "dev" in repo1.
  • Pull from "dev" in repo2.

Expected Result:
LFS uses the "dev" URL to create the batch URL.

Actual Result:
LFS uses the "origin" URL to create the batch URL.

Version: 2.0.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions