From d6f34fe5ae399660abe57eda2cab373f12c4506a Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Mon, 28 Oct 2013 16:56:22 +0000 Subject: [PATCH 1/2] Added a comment --- ..._3cb4828dc7116e4cf49e119f055ae9a3._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/known_and_local_annex_keys/comment_1_3cb4828dc7116e4cf49e119f055ae9a3._comment diff --git a/doc/forum/known_and_local_annex_keys/comment_1_3cb4828dc7116e4cf49e119f055ae9a3._comment b/doc/forum/known_and_local_annex_keys/comment_1_3cb4828dc7116e4cf49e119f055ae9a3._comment new file mode 100644 index 0000000000..24a5ef03e4 --- /dev/null +++ b/doc/forum/known_and_local_annex_keys/comment_1_3cb4828dc7116e4cf49e119f055ae9a3._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.47" + subject="comment 1" + date="2013-10-28T16:56:20Z" + content=""" +I think you're stressing way too much about a number. + +It's quite possible for the known and local key counts to diverge while no data is missing. For example: + +
+joey@darkstar:~/tmp/test>touch foo
+joey@darkstar:~/tmp/test>touch bar
+joey@darkstar:~/tmp/test>git annex add foo bar
+
+local annex keys: 1
+known annex keys: 2
+
+ +"""]] From 66c094a251340f827b8d5302f9b3f2b01c706cfb Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Mon, 28 Oct 2013 17:11:05 +0000 Subject: [PATCH 2/2] Added a comment --- ...comment_1_20ecfa8ffa52c238d21b904076ac69a2._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/whishlist:_git_annex_drop_--dry-run/comment_1_20ecfa8ffa52c238d21b904076ac69a2._comment diff --git a/doc/todo/whishlist:_git_annex_drop_--dry-run/comment_1_20ecfa8ffa52c238d21b904076ac69a2._comment b/doc/todo/whishlist:_git_annex_drop_--dry-run/comment_1_20ecfa8ffa52c238d21b904076ac69a2._comment new file mode 100644 index 0000000000..098d399e33 --- /dev/null +++ b/doc/todo/whishlist:_git_annex_drop_--dry-run/comment_1_20ecfa8ffa52c238d21b904076ac69a2._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.47" + subject="comment 1" + date="2013-10-28T17:11:04Z" + content=""" +It would be nice, but it adds quite a lot of complexity to have a --dry-run, and if I add it to just drop, the next bug is going to ask for get to have it.. + +I feel that the right approach is to add a --wanted, which could then be used with find to find files that are and are not wanted, according to the preferred content settings. To see what it would want to get: `git annex find --wanted --not --in .` To see what it would want to drop: `git annex find --not --wanted --in .` +"""]]