From d6074460434559365127a91b0a47beddf6f5e93a Mon Sep 17 00:00:00 2001 From: "asakurareiko@f3d908c71c009580228b264f63f21c7274df7476" Date: Tue, 26 Oct 2021 19:54:53 +0000 Subject: [PATCH] Added a comment --- .../comment_2_7671692f4331c625c7f1e0abe83139f2._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/todo/__91__PATCH__93___Call_freezeContent_after_move_into_annex/comment_2_7671692f4331c625c7f1e0abe83139f2._comment diff --git a/doc/todo/__91__PATCH__93___Call_freezeContent_after_move_into_annex/comment_2_7671692f4331c625c7f1e0abe83139f2._comment b/doc/todo/__91__PATCH__93___Call_freezeContent_after_move_into_annex/comment_2_7671692f4331c625c7f1e0abe83139f2._comment new file mode 100644 index 0000000000..9bee8aab03 --- /dev/null +++ b/doc/todo/__91__PATCH__93___Call_freezeContent_after_move_into_annex/comment_2_7671692f4331c625c7f1e0abe83139f2._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="asakurareiko@f3d908c71c009580228b264f63f21c7274df7476" + nickname="asakurareiko" + avatar="http://cdn.libravatar.org/avatar/a865743e357add9d15081840179ce082" + subject="comment 2" + date="2021-10-26T19:54:53Z" + content=""" +Sorry I missed explaining a few things and made a mistake in the patch. I made my freeze script detect whether the input is inside or outside of .git/annex/objects, so there are no problems with calling freezeContent on something in the working tree. The problem is not calling freezeContent on the final object, because the delete permission can only be denied at that point. The easiest way without compromising the safety of the previous behaviour is to add another freezeContent call after moveFile. +"""]]