summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar CandyAngel <CandyAngel@web>2017-02-07 22:51:15 +0000
committerGravatar admin <admin@branchable.com>2017-02-07 22:51:15 +0000
commit2eab31bc833c4e3e1f18e65b4ac61a134f6b0594 (patch)
treefdd5849473a79099a988b0feddfb7a8cdb64ad23 /doc/todo
parentc152d92e26e7d3b6115a79e2e10546f3e4ddce71 (diff)
Added a comment
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/Alternative_mode_control_for_import/comment_3_cd4b0f6752457a70f2ab908d23913d76._comment16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/Alternative_mode_control_for_import/comment_3_cd4b0f6752457a70f2ab908d23913d76._comment b/doc/todo/Alternative_mode_control_for_import/comment_3_cd4b0f6752457a70f2ab908d23913d76._comment
new file mode 100644
index 000000000..09ce568ee
--- /dev/null
+++ b/doc/todo/Alternative_mode_control_for_import/comment_3_cd4b0f6752457a70f2ab908d23913d76._comment
@@ -0,0 +1,16 @@
+[[!comment format=mdwn
+ username="CandyAngel"
+ avatar="http://cdn.libravatar.org/avatar/15c0aade8bec5bf004f939dd73cf9ed8"
+ subject="comment 3"
+ date="2017-02-07T22:51:15Z"
+ content="""
+ An implementation of --mode=Did,Nsid seemed worth adding at first, perhaps as --reinject-duplicates. But thinking about it some more, that would be the same as
+
+ git annex reinject --known /path/*
+ git annex import /path/*
+
+
+--mode=Did,Nsid would be quite a bit faster because it wouldn't hash the files twice, which is an advantage this suggestion has over any multiple command alternative.
+
+If you want to keep it to certain points in space rather than deal with all combinations, you could whitelist which ones are acceptable and people can request more to be whitelisted as they discover use cases for those modes. The current commands would alias to the modes (which would also make their behaviour obvious if this alias is mentioned in the documentation).
+"""]]