From d67da1f4dbd5f2970711c51672da44278a10fb9f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 18 Aug 2021 12:38:55 -0400 Subject: [PATCH] idea --- .../git_fetch_and_push_to_import_export_remote.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/todo/git_fetch_and_push_to_import_export_remote.mdwn diff --git a/doc/todo/git_fetch_and_push_to_import_export_remote.mdwn b/doc/todo/git_fetch_and_push_to_import_export_remote.mdwn new file mode 100644 index 0000000000..2803cbeb01 --- /dev/null +++ b/doc/todo/git_fetch_and_push_to_import_export_remote.mdwn @@ -0,0 +1,12 @@ +It should be possible for `git fetch foo` to work when foo is a special +remote with importtree=yes. This would have the same effect as running +`git-annex import --from foo`. + +Also `git push foo` when it supports export, would have the same effect as +running `git annex export --to foo` + +It would need `remote.foo.url` to be set to something like `annex::foo` +which would make fetch and pull run `git-remote-annex`. Currently, special +remote's don't get an url configured. (`annex::uuid` was my first thought, +but `annex::foo` avoids repeating the remote's uuid and git-annex can +look up the uuid from the name) --[[Joey]]