remove debug print

just saw it legitimately occur when 2 git-annex were running
This commit is contained in:
Joey Hess 2014-01-26 17:04:12 -04:00
parent 819e1511de
commit 2ecd42b43b

View file

@ -252,8 +252,7 @@ commitIndex' jl branchref message parents = do
committedref <- inRepo $ Git.Branch.commitAlways message fullname parents
setIndexSha committedref
parentrefs <- commitparents <$> catObject committedref
when (racedetected branchref parentrefs) $ do
liftIO $ print ("race detected", branchref, parentrefs, "committing", (branchref, parents))
when (racedetected branchref parentrefs) $
fixrace committedref parentrefs
where
-- look for "parent ref" lines and return the refs