Skip to content

When the --lfs option is used, after first clone non-lfs content is no longer fetched #210

@codysch

Description

@codysch

It's because of these lines:

        if lfs_clone:
            git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
        else:
            git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']

Which should instead be something like

        git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
        # TODO: execute the first git command
        if lfs_clone:
            git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
            # TODO: execute this second git command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions