fix unannex data overwrite bug

unannex, uninit: When an annexed file is modified, don't overwrite the
modified version with an older version from the annex

This commit was sponsored by Mark Reidenbach on Patreon.
This commit is contained in:
Joey Hess 2021-02-22 13:35:00 -04:00
parent 224bc7579b
commit 530e96b80e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 27 additions and 8 deletions

View file

@ -4,3 +4,5 @@ This is a data loss bug.
Command.Unannex.cleanup just overwrites whatever's there without checking.
Happens with both locked and unlocked files. --[[Joey]]
> [[fixed|done]] --[[Joey]]