add: Fix error recovery rollback to not move the injested file content out of the...
authorJoey Hess <joeyh@joeyh.name>
Fri, 6 Nov 2015 19:28:20 +0000 (15:28 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 6 Nov 2015 19:28:20 +0000 (15:28 -0400)
commit7938b87864853c5e8bbf6a063a48d25e5c3fddb8
treee3fbd3cdf4035499528eee2a60debf2f5f513699
parentd435a717e6bbe590bf7ed453bef4fbc4a9dcbd55
add: Fix error recovery rollback to not move the injested file content out of the annex back to the file, because other files may point to that same content. Instead, copy the injected file content out to recover.

That was not a data loss, but it came close!
Annex/Content.hs
Command/Add.hs
debian/changelog