Error when `git add` caused by `lfs`

Hi everyone,

Today, when trying to run git add ., I found this problem that seems to be caused by some weird interaction with lfs objects. I checked, and none of the files the error is mentioning, i.e., in /tmp/ and in /objects/ exist. Any clues on how I could solve this. Sorry for providing an image but indeed this error happened to one of my students.

Please, also let me know how I could shed more light on this and help you solving this issue.

Thank you so much in advance!

This looks familiar; were the objects git lfs pull'd first? Is this locally or in an interactive environment?

It is an interactive environment. And I do believe all of them were pulled. But we can try to git lfs pull everything, and then try git add again.