y2k
y2k

Reputation: 66006

`git add *` offers fatal error

It had no problem adding thousands of these types of files but then fatal errors on this one?

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

Upvotes: 4

Views: 1351

Answers (1)

VonC
VonC

Reputation: 1324887

It is possible that a process (like the 7zip one) is still keeping an handle on that specific file, making another process (like git) unable to access/read said file.

Try doing that operation again with as many applications closed as you can (or even just after a reboot), in order to see if the error still persists.

Upvotes: 3

Related Questions