whereis --json: Urls are now listed inside the remote that claims them, rather than all together at the end.
This commit is contained in:
parent
d9f9153c82
commit
b26ce646e4
6 changed files with 59 additions and 23 deletions
|
@ -89,3 +89,5 @@ as you can see -- only --json format is missing on web remote URLs. I guess, id
|
|||
what is the purpose of note in current output anyways since it just duplicates information in 'whereis' field?
|
||||
|
||||
[[!meta author=yoh]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2016-01-15T18:10:26Z"
|
||||
content="""
|
||||
The web urls were included in the json output, but it seems some json
|
||||
parsers, including the one you're using, only show the last value of an
|
||||
attribute when multiple values are repeated, as happened when there were
|
||||
both web and other remotes with urls.
|
||||
|
||||
Anyway, I've updated the json output to include the url list inside the
|
||||
remote's record.
|
||||
|
||||
(The "note" just collects any output that is not explicitly formatted as
|
||||
json.)
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue