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

This commit is contained in:
Joey Hess 2020-02-20 16:39:48 -04:00
commit 547e1f29b1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="Ilya_Shlyakhter"
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
subject="backends vs special remotes"
date="2020-02-20T19:23:04Z"
content="""
@annex2384 \"Backend which doesn't store files at all?\" -- are you sure you're thinking of backends and not of [[special_remotes]]? Backends don't \"store files\", special remotes do. Backends create keys identifying specific contents.
Not sure I fully understand your use case, but you could write an [[external special remote|special_remotes/external]] that, for a given git-annex key, stores \"the location of possible local copies of the file\" -- e.g. using `SETSTATE` or `SETURIPRESENT`.
"""]]

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16"
nickname="titaniumfiles"
avatar="http://cdn.libravatar.org/avatar/067eaf551eb18de259f4d88966622326"
subject="comment 4"
date="2020-02-20T19:34:24Z"
content="""
Sorry for the delay; basically, since I'm using git submodules inside the annex repo as well, while I might want to exclude certain files from my submodules, I still want them in the root annex repository; so I want to read all exclusions from, at the very least, the global `~/.gitignore` (which I *think* also affects `git annex`?) so that when adding to the annex, I'd still have the excluded files when cloning somewhere else.
As a side question, does `git annex` honor `.gitignores` in sub-directories as well, for excluding files in said sub-directories?
"""]]