
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.
8 lines
326 B
Markdown
8 lines
326 B
Markdown
git-annex unannex (or uninit) with an annexed file that is modified loses
|
|
the modified version, replacing it with the last annexed version.
|
|
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]]
|