diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-19 12:01:00 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-19 12:01:00 -0400 |
commit | d909466b8ab867ed4cf688c7a0deb4c4e898c08c (patch) | |
tree | 6d30480ac3ff0a355d40012516b28f27c00caf4d /Command | |
parent | 12b375f583773fc33f9f379d13622cd1892860a4 (diff) |
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)
Diffstat (limited to 'Command')
-rw-r--r-- | Command/AddUrl.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs index d6a4c6143..7d7796ba5 100644 --- a/Command/AddUrl.hs +++ b/Command/AddUrl.hs @@ -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 |