summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-04 13:13:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-04 13:13:30 -0400
commit7edfb1651619db820470d2ea5ddde8fef57df67d (patch)
tree3f94fd1997bcb0a278eb6b934c82ab7a0d75b1e6 /doc/git-annex.mdwn
parent081cd6fc5622d5e6d28eafbe91b5950328bb1844 (diff)
import: Add --skip-duplicates option.
Note that the hash backends were made to stop printing a (checksum..) message as part of this, since it showed up without a file when deciding whether to act on a file. Should have probably removed that message a while ago anyway, I suppose.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 9f5ff58aa..99af09e3d 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -236,6 +236,9 @@ subdirectories).
use the `--deduplicate` option. Duplicate files will be deleted from the
import location.
+ To only import files whose content has not been seen before by git-annex,
+ but avoid deleting duplicate files, use the `--skip-duplicates` option.
+
The `--clean-duplicates` option does not import any new files, but any files
found in the import location that are duplicates of content in the annex
are deleted.