aboutsummaryrefslogtreecommitdiff
path: root/CmdLine/Action.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-30 15:28:17 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-30 15:28:17 -0400
commit508920bf728cfb5e4568b68a2943bd33efac26bc (patch)
treed04529a6b2529e771a65ac3c724c33067b9ccb2d /CmdLine/Action.hs
parent4cd5738bb29278498b06b4f4d3edd4962c7a0eea (diff)
Improve behavior when a git-annex command is told to operate on a file that doesn't exist. It will now continue to other files specified after that on the command line, and only error out at the end.
Diffstat (limited to 'CmdLine/Action.hs')
-rw-r--r--CmdLine/Action.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CmdLine/Action.hs b/CmdLine/Action.hs
index a32abbbee..b566621bb 100644
--- a/CmdLine/Action.hs
+++ b/CmdLine/Action.hs
@@ -43,7 +43,7 @@ commandAction a = account =<< tryIO go
account (Right True) = return True
account (Right False) = incerr
account (Left err) = do
- showErr err
+ toplevelWarning True (show err)
showEndFail
incerr
incerr = do