unnecessary do block

This commit is contained in:
Joey Hess 2013-08-25 21:38:01 -04:00
parent bb228fa46d
commit 0963f92984

View file

@ -253,7 +253,7 @@ withKeysReferenced' mdir initial a = do
go v' fs
withKeysReferencedInGit :: (Key -> Annex ()) -> Annex ()
withKeysReferencedInGit a = do
withKeysReferencedInGit a =
showref >>= mapM_ (withKeysReferencedInGitRef a) . relevantrefs
where
showref = inRepo $ Git.Command.pipeReadStrict [Param "show-ref"]