Added a comment
authoryarikoptic <yarikoptic@web>
Mon, 5 Oct 2020 18:02:51 +0000 (18:02 +0000)
committeradmin <admin@branchable.com>
Mon, 5 Oct 2020 18:02:51 +0000 (18:02 +0000)
doc/todo/clarify_that_v7_applies_to_all_clones/comment_8_842f3b0356ee1844d400a8fe564abab5._comment [new file with mode: 0644]

diff --git a/doc/todo/clarify_that_v7_applies_to_all_clones/comment_8_842f3b0356ee1844d400a8fe564abab5._comment b/doc/todo/clarify_that_v7_applies_to_all_clones/comment_8_842f3b0356ee1844d400a8fe564abab5._comment
new file mode 100644 (file)
index 0000000..c0ddf2b
--- /dev/null
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="comment 8"
+ date="2020-10-05T18:02:48Z"
+ content="""
+Thank you Kyle!  I came up with 
+
+```shell
+unlocked=( `git grep -l -a --no-textconv --cached '^/annex/objects/' || :` )
+if [ \"${#unlocked[*]}\" -ge 1 ]; then
+    error \"Found ${#unlocked[*]} unlocked files. Cannot do: ${unlocked[*]}\" 2
+fi
+```
+
+do you think it would miss something?
+
+Here is my complete script ATM (didn't try in \"production\" yet, switched to other tasks for now but it is ready, also does some testing of operation at the end, so must not be applied as is to existing repos without commenting that out): http://www.onerussian.com/tmp/downgrade-annex
+
+"""]]