summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-04-22 13:49:32 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-04-22 13:49:32 -0400
commitb48a044d26bb607da9962b9086e9da2db9e11620 (patch)
tree0a5b94be74befcbf51431ea4a0d7da31cbdcf357 /doc/todo
parent475f9475f162c1c1f9aee727fa3f3a471ebe2506 (diff)
reinject: Added new mode which can reinject known files into the annex.
For example: git-annex reinject --known /mnt/backup/*
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/import_--reinject.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/todo/import_--reinject.mdwn b/doc/todo/import_--reinject.mdwn
index b34a2b1f9..b8f80b402 100644
--- a/doc/todo/import_--reinject.mdwn
+++ b/doc/todo/import_--reinject.mdwn
@@ -3,3 +3,5 @@ There's `git annex reinject <src> <dst>` for re-adding one file's contents to th
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.
+
+> implemented `git annex reinject --known` [[done]] --[[Joey]]