0

I want to get a list of all the files that fail smudge in current branch when trying to pull. But git lfs pull lists only one object at a time when smudge filter fails. It lists the next file only on resolving the smudge issue and re-running pull. Is there a way to get complete list of all objects failing smudge at once for the current branch?

$ git pull
...
Error downloading object: myrepo/cross_validation/saved_model_01.db (d10f69b): Smudge error: Error downloading myrepo/cross_validation/saved_model_01.db (d10f69bg699g38dre2e00421f1118f729344e05d3855ba8f11724ac0a2be31d7): LFS: Repository or object not found: http://myrepo.git/gitlab-lfs/objects/d10f69bg699g38dre2e00421f1118f729344e05d3855ba8f11724ac0a2be31d7
Check that it exists and that you have proper access to it

Errors logged to C:\Users\work\myrepo\.git\lfs\logs\20221204T210704.04752777.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: myrepo/cross_validation/saved_model_01.db: smudge filter lfs failed
harish
  • 1,836
  • 3
  • 21
  • 26
  • 1
    One method I definitely would *not* recommend is to temporarily mark the LFS smudge filter as "not required". Git will then assume that the pointer file (which is all Git has) is OK to leave in place (which is usually not the case). You'll have to manually clean up afterward. While I won't recommend it, it will probably work. Note: I don't use Git-LFS (after a brief experiment once, I decided I didn't like it). – torek Dec 04 '22 at 23:51

0 Answers0