summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f <grawity@web>2016-02-21 16:55:40 +0000
committerGravatar admin <admin@branchable.com>2016-02-21 16:55:40 +0000
commit38e5b93c80aea27ca882537ce21055dabd72d13b (patch)
tree35e3852cf2410a690f208f1e7abc2cefd050bce4 /doc/todo
parent8d242e76177242fc543ba6269a83cc7eb0a72ccf (diff)
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/import_--reinject.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/todo/import_--reinject.mdwn b/doc/todo/import_--reinject.mdwn
new file mode 100644
index 000000000..b34a2b1f9
--- /dev/null
+++ b/doc/todo/import_--reinject.mdwn
@@ -0,0 +1,5 @@
+There's `git annex reinject <src> <dst>` for re-adding one file's contents to the local annex. But what if I have a whole bunch of files, and want git-annex itself to decide whether & where it needs to reinject them? (And if the file doesn't need to be reinjected, it would remain in its original place.)
+
+None of the `git annex import` modes work properly in this case. By default, importing adds another, unnecessary copy of the imported file (which I have to `rm` after importing). The `--clean-duplicates` mode seems close, but it insists on verifying the content in other repositories rather than just reinjecting it locally. (Let's assume that the main reason I'm trying to reinject is that I cannot access other repos.)
+
+So I'm hoping for something like `git annex import --reinject <src>...`. Or are there other existing ways to achieve the same? I couldn't find any.