From: Joey Hess Date: Mon, 22 Feb 2021 17:03:22 +0000 (-0400) Subject: bug report X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~98^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=224bc7579be25f288544f803af456cba6282d71b;p=git-annex.git bug report --- 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]]