Skip to content

git lfs issues #160

Open
Open
@ColdHeat

Description

@ColdHeat

Even with git subrepo it seems that we can sometimes have issues with git lfs.

❯ ctf challenge add ....
git-subrepo: Command failed: 'git read-tree --prefix=...... -u 4dda58e74a75de46c39............'.
Downloading .......file....... (.........)
Error downloading object: .......file....... (123456): Smudge error: Error downloading .......file.......  (.......hash.......): [.......hash....... ] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to 'filename.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: .......file.......: smudge filter lfs failed
Could not add the challenge repository. Please check git error messages above.

You can work around this with the following and then manually pulling the lfs files as referenced in the lower links

export GIT_LFS_SKIP_SMUDGE=1

ingydotnet/git-subrepo#152
ingydotnet/git-subrepo#152 (comment)

We should still try to have a better flow for these large files though.

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