This commit is contained in:
Joey Hess 2013-11-06 12:39:14 -04:00
parent 489f2de363
commit 81117e8a9d

View file

@ -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.