diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2013-07-07 18:09:20 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-07-07 18:09:20 +0000 |
commit | b294d4fba2bc5c0451da14b043b0668c52256d14 (patch) | |
tree | b855bb42a5f442ec5815843c7516d0fe0be969ad | |
parent | 44c6ab43172d08d1aa4e4516b655e2fcab21f787 (diff) |
Added a comment
-rw-r--r-- | doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment b/doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment new file mode 100644 index 000000000..ff9030c99 --- /dev/null +++ b/doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment @@ -0,0 +1,22 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.153.254.222" + subject="comment 1" + date="2013-07-07T18:09:20Z" + content=""" +This is such a good idea that I went into the time machine and arranged for it to be implemented in June 2012: + +<pre> + import [path ...] + Moves files from somewhere outside the git work‐ + ing copy, and adds them to the annex. Individual + files to import can be specified. If a direc‐ + tory is specified, all files in it are imported, + and any subdirectory structure inside it is pre‐ + served. + + git annex import /media/camera/DCIM/ +</pre> + +I don't see much use for `--copy-only` though. so did not implement it them (also I needed to spend some of my time at the race track). It seems to me that using `--copy-only` as you describe it would do everything except for add the files to git. You can get the same behavior by using `git annex import`, which only stages the new files but does not commit them, and then moving files around and running `git annex add` on them, followed by committing. +"""]] |