`git add *` suggests fatal error

He had no problem adding thousands of these file types, but then fatal errors on that?

error: short read Invalid argument error: Src/Client/Assets/2-Art/Textures/PC/OgreMale/ogmft0302.bmp.meta: failed t o insert into database error: unable to index file Src/Client/Assets/2-Art/Textures/PC/OgreMale/ogmft03 02.bmp.meta fatal: adding files failed 
+4
source share
1 answer

It is possible that a process (e.g. 7zip alone) still holds the handle in that particular file, which makes another process (e.g. git ) unable to access / read the specified file.

Try this operation again when as many applications are closed as you can (or even immediately after a reboot) to see if the error persists.

+3
source

Source: https://habr.com/ru/post/1484337/


All Articles