I have copy-pasted some files into my directory where I have git, and when I ran a command git status it gave me this error message.
BUG: refs/files-backend.c:465: returning non-zero -1, should have set myerr!
On branch main
When I restored everything with git restore ., the message still remains.
I have tried to find the meaning of the bug, but I haven’t found anything.