idea
authorJoey Hess <joeyh@joeyh.name>
Wed, 18 Aug 2021 16:38:55 +0000 (12:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 18 Aug 2021 16:39:03 +0000 (12:39 -0400)
doc/todo/git_fetch_and_push_to_import_export_remote.mdwn [new file with mode: 0644]

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 (file)
index 0000000..2803cbe
--- /dev/null
@@ -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]]