bug report
authorJoey Hess <joeyh@joeyh.name>
Mon, 22 Feb 2021 17:03:22 +0000 (13:03 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 22 Feb 2021 17:03:22 +0000 (13:03 -0400)
doc/bugs/unannex_of_modified_file_loses_modification.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/unannex_of_modified_file_loses_modification.mdwn b/doc/bugs/unannex_of_modified_file_loses_modification.mdwn
new file mode 100644 (file)
index 0000000..28a0f1d
--- /dev/null
@@ -0,0 +1,6 @@
+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]]