From 5882fc28d7addc88a3f52bcef7726b459ece672d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 2 Dec 2024 12:34:08 -0400 Subject: [PATCH] forgot to add this comment earlier --- ...ent_2_a48aa264a5514b70f8362208f3136dc0._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment diff --git a/doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment b/doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment new file mode 100644 index 0000000000..68fc7c30db --- /dev/null +++ b/doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2024-11-25T16:19:42Z" + content=""" +The reason `git-annex copy --not --unused` behaves that way is that +--unused is not a file matching option. --not, meanwhile, inverts the next +file matching option. So here it does nothing. So that command is the same +as `git-annex copy --unused`! + +Obviously, that's a bit of an excuse, but it's what's going on. I do think +that having `--not --unused` work would be a useful thing. Opened a todo +[[todo/support_--not_--unused]]. +"""]]