got private repos really working

This new TODO will need private indexes to resolve; until then the
private journal has to be checked when private UUIDs are known.
This commit is contained in:
Joey Hess 2021-04-21 16:26:23 -04:00
parent d0c5f6d2f0
commit c687eae80b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -213,6 +213,9 @@ updateTo' pairs = do
return $ UpdateMade
{ refsWereMerged = not (null tomerge)
, journalClean = journalclean
-- TODO need private index, then this can be
-- removed
&& not privateUUIDsKnown
}
where
excludeset s = filter (\(r, _) -> S.notMember r s)