Skip to content

git lfs fetch requests more metadata than it needs from the batch endpoint #430

Closed

Description

@ryansimmen

When lfs.batch is turned on, git lfs fetch will send a request to the batch endpoint requesting metadata for every tracked file in the repository. Instead, git lfs fetch should only request metadata for clean pointer files that need smudging.

Activity

  1. changed the title [-]git lfs fetch requests more metadata than in needs from the batch endpoint[/-] [+]git lfs fetch requests more metadata than it needs from the batch endpoint[/+] on Jun 22, 2015
  2. rubyist commented on Jun 22, 2015

    @rubyist
    Contributor

    👍 for fetch we can definitely filter out things we already have.

  3. technoweenie commented on Jul 27, 2015

    @technoweenie
    Contributor

    I think this will be fixed in #527:

    fetch only adds missing or incorrect objects to the download queue, not all of them. This improves the progress reporting; previously fetch would appear to be trying to download all objects referenced at a ref then only have to download the missing ones as the download queue figured out they were already local. Also means fetch reports nothing at all if you're completely up to date already, instead of reporting "(0 of 1000 files)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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