make query commands not output extraneous messages
config group groupwanted numcopies schedule wanted required: Avoid displaying extraneous messages about repository auto-init, git-annex branch merging, etc, when being used to get information.
This commit is contained in:
parent
baa2ab2c7d
commit
d0651bb567
10 changed files with 51 additions and 15 deletions
|
@ -9,3 +9,5 @@ not metadata=distribution-restrictions=*
|
|||
so it is necessary to avoid considering all the merging and recording messages, complicating using wanted in the scripts etc
|
||||
|
||||
[[!meta author=yoh]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 3"""
|
||||
date="2017-02-16T16:53:30Z"
|
||||
content="""
|
||||
This can happen at other times than repository auto-init too.
|
||||
|
||||
Generally plumbing commands just turn off all such messages very early,
|
||||
but in this case, the command has one mode where it's supposed to get data,
|
||||
which is plumbing-like, and another mode where it sets data, which is
|
||||
supposed to display normal messages about what it's doing. So it didn't
|
||||
turn messages off until after parsing the command line, which is too late.
|
||||
|
||||
Affected commands: config group groupwanted numcopies schedule wanted required
|
||||
|
||||
Fairly sure that's a complete set, at least it's all the commands with
|
||||
both a get and a set mode.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue