From 224bc7579be25f288544f803af456cba6282d71b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Feb 2021 13:03:22 -0400 Subject: [PATCH] bug report --- doc/bugs/unannex_of_modified_file_loses_modification.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/bugs/unannex_of_modified_file_loses_modification.mdwn 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 index 0000000000..28a0f1d182 --- /dev/null +++ b/doc/bugs/unannex_of_modified_file_loses_modification.mdwn @@ -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]] -- 2.30.2