addurl --json: Include field for added key
(unless the file was added directly to git due to annex.largefiles configuration.) (Also done by add --json and import --json)
This commit is contained in:
parent
7b8e79c0f0
commit
80d5feefc7
2 changed files with 4 additions and 0 deletions
|
@ -379,6 +379,7 @@ cleanup u url file key mtmp = case mtmp of
|
|||
)
|
||||
where
|
||||
go = do
|
||||
maybeShowJSON [("key", key2file key)]
|
||||
when (isJust mtmp) $
|
||||
logStatus key InfoPresent
|
||||
setUrlPresent u key url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue