From 2eab31bc833c4e3e1f18e65b4ac61a134f6b0594 Mon Sep 17 00:00:00 2001 From: CandyAngel Date: Tue, 7 Feb 2017 22:51:15 +0000 Subject: Added a comment --- .../comment_3_cd4b0f6752457a70f2ab908d23913d76._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/todo/Alternative_mode_control_for_import/comment_3_cd4b0f6752457a70f2ab908d23913d76._comment (limited to 'doc/todo') 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). +"""]] -- cgit v1.2.3