fix innaccurate comment

This commit is contained in:
Joey Hess 2015-03-04 14:44:11 -04:00
parent b504b6238d
commit 79b6500111

View file

@ -71,8 +71,9 @@ seek rs = do
prepMerge
-- There may not be a branch checked out until after the commit,
-- or perhaps after it gets merged from the remote.
-- So only look it up once it's needed, and if once there is a
-- or perhaps after it gets merged from the remote, or perhaps
-- never.
-- So only look it up once it's needed, and once there is a
-- branch, cache it.
mvar <- liftIO newEmptyMVar
let getbranch = ifM (liftIO $ isEmptyMVar mvar)