import --reinject-duplicates
This is the same as running git annex reinject --known, followed by git-annex import. The advantage to having it in one command is that it only has to hash each file once; the two commands have to hash the imported files a second time. This commit was sponsored by Shane-o on Patreon.
This commit is contained in:
parent
eae186e4b9
commit
c1ece47ea0
5 changed files with 50 additions and 19 deletions
|
@ -0,0 +1,15 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 4"""
|
||||
date="2017-02-09T19:33:46Z"
|
||||
content="""
|
||||
Actually, import --deduplicate, --skip-duplicates, --clean-duplicates
|
||||
are implemeted naively and do hash files twice. So it's
|
||||
the same efficiency..
|
||||
|
||||
But, I just finished a more complicated implementation that avoids
|
||||
the second hashing.
|
||||
|
||||
That does make the combined action worth adding, I suppose. Done so as
|
||||
--reinject-duplicates.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue