From 81117e8a9d19d4739d3773d0515006e1ea41c266 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 6 Nov 2013 12:39:14 -0400 Subject: [PATCH] typo --- Annex/Branch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/Branch.hs b/Annex/Branch.hs index bc6c8fe542..5978260a1f 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.