Fix reversion in lookupkey, contentlocation, and examinekey which caused them to sometimes output side messages.
This commit is contained in:
parent
66a24e0f36
commit
9a4af2324e
6 changed files with 17 additions and 3 deletions
|
@ -11,7 +11,7 @@ import Command
|
|||
import Annex.Content
|
||||
|
||||
cmd :: Command
|
||||
cmd = noCommit $
|
||||
cmd = noCommit $ noMessages $
|
||||
command "contentlocation" SectionPlumbing
|
||||
"looks up content for a key"
|
||||
(paramRepeating paramKey)
|
||||
|
|
|
@ -12,7 +12,7 @@ import qualified Utility.Format
|
|||
import Command.Find (parseFormatOption, showFormatted, keyVars)
|
||||
|
||||
cmd :: Command
|
||||
cmd = noCommit $ withGlobalOptions [jsonOption] $
|
||||
cmd = noCommit $ noMessages $ withGlobalOptions [jsonOption] $
|
||||
command "examinekey" SectionPlumbing
|
||||
"prints information from a key"
|
||||
(paramRepeating paramKey)
|
||||
|
|
|
@ -11,7 +11,7 @@ import Command
|
|||
import Annex.CatFile
|
||||
|
||||
cmd :: Command
|
||||
cmd = notBareRepo $ noCommit $
|
||||
cmd = notBareRepo $ noCommit $ noMessages $
|
||||
command "lookupkey" SectionPlumbing
|
||||
"looks up key used for file"
|
||||
(paramRepeating paramFile)
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ git-annex (6.20160127) UNRELEASED; urgency=medium
|
|||
|
||||
* annex.addsmallfiles: New option controlling what is done when
|
||||
adding files not matching annex.largefiles.
|
||||
* Fix reversion in lookupkey, contentlocation, and examinekey which
|
||||
caused them to sometimes output side messages.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Thu, 28 Jan 2016 13:53:09 -0400
|
||||
|
||||
|
|
|
@ -37,3 +37,5 @@ SHA256E-s4--181210f8f9c779c26da1d9b2075bde0127302ee0e3fca38c9a83f5b1dd8e5d3b.dat
|
|||
I guess I will just skip all lines starting with ( for now but thought to let you know about such changed behavior which might complicate pipelining etc
|
||||
|
||||
[[!meta author=yoh]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2016-01-29T17:16:57Z"
|
||||
content="""
|
||||
Argh, that was a dumb mistake. I've fixed this in git.
|
||||
|
||||
A better workaround would be to use --quiet which will silence all messages
|
||||
except the main command output.
|
||||
"""]]
|
Loading…
Reference in a new issue