info: Added --autoenable option
Use cases include using git-annex init --no-autoenable and then going back and enabling the special remotes that have autoenable configured. As well as just querying to remember which ones have it enabled. It lists all special remotes that have autoenable=yes whether currently enabled or not. And it can be used with --json. I pondered making this "git-annex info autoenable", but that seemed wrong because then if the use has a directory named "autoenable", it's unclear what they are asking for. (Although "git-annex info remote" may be similarly unclear.) Making it an option does mean that it can't be provided via --batch though. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
0d50c90794
commit
c59ea5b1ca
5 changed files with 57 additions and 11 deletions
|
@ -45,6 +45,11 @@ for the local repository and all annexed content.
|
|||
Makes the `--batch` input be delimited by nulls instead of the usual
|
||||
newlines.
|
||||
|
||||
* `--autoenable`
|
||||
|
||||
Display a list of special remotes that have been configured to
|
||||
autoenable.
|
||||
|
||||
* matching options
|
||||
|
||||
The [[git-annex-matching-options]](1) can be used to select what
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue