summaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-02 15:01:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-02 15:01:58 -0400
commit16ca22c60af39cc06db62215a1ac12cd5ae7a3c5 (patch)
treecf3f0c6ea6297087cab68ca8317e85b64f57406c /Command/Add.hs
parent13aeb89e2a1a44c9404fef93cb3dcdced618285f (diff)
avoid warnings when built with ghc 7.6
Diffstat (limited to 'Command/Add.hs')
-rw-r--r--Command/Add.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index 543d37136..fe1a6b13a 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -174,7 +174,7 @@ undo file key e = do
liftIO $ nukeFile file
catchAnnex (fromAnnex key file) tryharder
logStatus key InfoMissing
- throw e
+ throwAnnex e
where
-- fromAnnex could fail if the file ownership is weird
tryharder :: IOException -> Annex ()