Added a comment

This commit is contained in:
andrew 2018-07-08 16:37:04 +00:00 committed by admin
parent 49e5585cbd
commit 85bc622552

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="andrew"
avatar="http://cdn.libravatar.org/avatar/acc0ece1eedf07dd9631e7d7d343c435"
subject="comment 5"
date="2018-07-08T16:37:04Z"
content="""
I was also confused the first time I read the documentation of `git-annex-import`. By default it *moves* files, IE copies files into your annex and then deletes them from the source. Since `git-annex` commands seems to be eager to preserve multiple copies of files I did find it surprising that with this command it does not. I suppose one motivation for deleting the files at the source is so `git-annex` or the user can keep track of which files have been imported, IE they are using the import command to put unorganized files under the control of an annex.
I would have expected `git-annex import` to *copy* files by default, then have an option like `--move` to *move* files instead. I'm not sure this is a compelling enough reason to change an existing command though…
Personally I always do `git-annex import --duplicate`
"""]]