summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-06 12:39:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-06 12:39:14 -0400
commit7be89453e0a0c394d29df37dfe163526929b0438 (patch)
tree76f94b44b8bbcc2bd22440740bf3ae5d4c5c3c35
parent6f6ab73e4954a5e1f44b18103230d372080faacc (diff)
typo
-rw-r--r--Annex/Branch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs
index bc6c8fe54..5978260a1 100644
--- a/Annex/Branch.hs
+++ b/Annex/Branch.hs
@@ -355,7 +355,7 @@ withIndex' bootstrapping a = do
unless bootstrapping $ inRepo genIndex
a
Annex.changeState $ \s -> s { Annex.repo = (Annex.repo s) { gitEnv = gitEnv g} }
- either Ethrow return r
+ either E.throw return r
{- Updates the branch's index to reflect the current contents of the branch.
- Any changes staged in the index will be preserved.