fix --from overriding annex-ignore
Make git-annex get/copy/move --from foo override configuration of remote.foo.annex-ignore, as documented. This already worked for remotes supporting hasKeyCheap. For others though, git-annex copy --from foo would silently not do anything, while git-annex copy --to foo would use the annex-ignored remote. Also improved the annex-ignore docs, to reflect that `git-annex get` without --from will skip using annex-ignored remotes, for example. Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
060259b750
commit
1654572bc1
9 changed files with 32 additions and 18 deletions
|
@ -1388,9 +1388,9 @@ Remotes are configured using these settings in `.git/config`.
|
|||
|
||||
* `remote.<name>.annex-ignore`
|
||||
|
||||
If set to `true`, prevents git-annex
|
||||
from storing annexed file contents on this remote by default.
|
||||
(You can still request it be used by the `--from` and `--to` options.)
|
||||
If set to `true`, prevents git-annex from storing or retrieving annexed
|
||||
file contents on this remote by default.
|
||||
(You can still request it be used with the `--from` and `--to` options.)
|
||||
|
||||
This is, for example, useful if the remote is located somewhere
|
||||
without git-annex-shell. (For example, if it's on GitHub).
|
||||
|
@ -1399,7 +1399,7 @@ Remotes are configured using these settings in `.git/config`.
|
|||
|
||||
This does not prevent `git-annex sync`, `git-annex pull`, `git-annex push`,
|
||||
`git-annex assist` or the `git-annex assistant` from operating on the
|
||||
git repository.
|
||||
git repository. It only affects annexed content.
|
||||
|
||||
* `remote.<name>.annex-ignore-command`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue