From 631608d55b01fa62d43675187e623e0b1d12bd9a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 18 Mar 2017 15:44:52 -0400 Subject: [PATCH] todo --- .../sync_content_of_a_single_directory_or_file.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/todo/sync_content_of_a_single_directory_or_file.mdwn diff --git a/doc/todo/sync_content_of_a_single_directory_or_file.mdwn b/doc/todo/sync_content_of_a_single_directory_or_file.mdwn new file mode 100644 index 0000000000..bbb036ff66 --- /dev/null +++ b/doc/todo/sync_content_of_a_single_directory_or_file.mdwn @@ -0,0 +1,11 @@ +`git annex sync --content` operates on the whole work tree, not only the +current directory. This is different than other git-annex commands, and +makes sense in a way since git pull works like that too. But, sometimes +I only want the content of a single directory, or perhaps file. + +This could be implemented as `git annex sync --content thedir`, except +that would conflict with the name of the remote to sync with that it +currently takes. Perhaps `git annex sync --dir==thedir`, which +automatically enables content syncing? + +--[[Joey]]