This commit is contained in:
parent
25fe6cfe0c
commit
933e689ca2
1 changed files with 20 additions and 0 deletions
20
doc/todo/Output_key_with_import__47__deduplicate.mdwn
Normal file
20
doc/todo/Output_key_with_import__47__deduplicate.mdwn
Normal file
|
@ -0,0 +1,20 @@
|
|||
When using
|
||||
|
||||
git annex import --deduplicate -- ~/directory/to/import
|
||||
|
||||
would it be possible to output the keys for duplicate files? This would allow people to find where in the annex the files already exist.
|
||||
|
||||
e.g.
|
||||
|
||||
import ~/directory/to/import/001.txt ok
|
||||
import ~/directory/to/import/002.txt ok
|
||||
import ~/directory/to/import/002_d.txt (duplicate SHA256E-s261--fb1230987ac123098...) ok
|
||||
import ~/directory/to/import/003.txt ok
|
||||
|
||||
Then you could use
|
||||
|
||||
git log -S SHA256E-s261--fb1230987ac123098...
|
||||
|
||||
to find out where it is already.
|
||||
|
||||
Not sure if that is the nicest layout.. (or what it might break).
|
Loading…
Add table
Add a link
Reference in a new issue