remove debug print
just saw it legitimately occur when 2 git-annex were running
This commit is contained in:
parent
819e1511de
commit
2ecd42b43b
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue