Found this out the hard way. See the comment in the below post for what happens.
git annex add crash and subsequent recovery
fixed --Joey
Found this out the hard way. See the comment in the below post for what happens.
git annex add crash and subsequent recovery
fixed --Joey
This only happens with the WORM backend (or possibly with SHA1E if the file's extension has a newline).
The problem is not the newline in the file, but the newline in the key generated for the file. It's probably best to just disallow such keys being created.