Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2021-02-22 12:40:06 -04:00
commit dd97017246
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="EvanDeaubl"
avatar="http://cdn.libravatar.org/avatar/00804f84646da416472678b573fd9d30"
subject="One possible workaround"
date="2021-02-22T16:23:40Z"
content="""
I ran into this exact situation trying to split content across multiple repos by directory, and ran into a couple of files with many duplicate keys throughout the repo. I worked around it by applying a tag to the offending key, and including that tag as part of the preferred content expression:
```
git annex metadata -t common-signature $FILE_WITH_DUP_KEY
git annex wanted . 'include=\"foo/*\" or include \"bar/*\" or metadata=tag=common-signature'
```
This would result in a file possibly being included in a repo where it wouldn't be otherwise (if it wasn't in one of the include directories to begin with), but in my case, the common files were few and small (2, both less than 100K).
"""]]