diff options
author | 2015-05-11 12:57:47 -0400 | |
---|---|---|
committer | 2015-05-11 12:57:47 -0400 | |
commit | 0b0b0ca095dfe50e81fc32781142ef2e18baeb41 (patch) | |
tree | 081079327a16916914dcd3c355f44601a8ea5275 /doc | |
parent | 560301841e5f29243b72faadc44138e860fa0490 (diff) |
import: Refuse to import files that are within the work tree, as that does not make sense and could cause data loss.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/Data_loss_when_doing___96__git_annex_import_--force__96__.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/bugs/Data_loss_when_doing___96__git_annex_import_--force__96__.mdwn b/doc/bugs/Data_loss_when_doing___96__git_annex_import_--force__96__.mdwn index 8c61ba8d5..60e04fc14 100644 --- a/doc/bugs/Data_loss_when_doing___96__git_annex_import_--force__96__.mdwn +++ b/doc/bugs/Data_loss_when_doing___96__git_annex_import_--force__96__.mdwn @@ -57,3 +57,6 @@ drwx------ 55 jkt jkt 8.0K May 8 13:54 .. drwxr-xr-x 8 jkt jkt 119 May 8 13:55 .git """]] ...and the file is gone :(. + +> You should use `git annex add` in this case, not import. +> I've made import refuse to run in this case. [[done]] --[[Joey]] |