From d909466b8ab867ed4cf688c7a0deb4c4e898c08c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Jan 2016 12:01:00 -0400 Subject: 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) --- Command/AddUrl.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Command') 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 -- cgit v1.2.3