list: Do not include dead repositories.
This commit is contained in:
parent
14ea28d787
commit
9996e04f41
2 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@ git-annex (6.20160528) UNRELEASED; urgency=medium
|
||||||
branch checked out.
|
branch checked out.
|
||||||
* remotedaemon: Fixed support for notifications of changes to gcrypt
|
* remotedaemon: Fixed support for notifications of changes to gcrypt
|
||||||
remotes, which was never tested and didn't quite work before.
|
remotes, which was never tested and didn't quite work before.
|
||||||
|
* list: Do not include dead repositories.
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Fri, 27 May 2016 13:12:48 -0400
|
-- Joey Hess <id@joeyh.name> Fri, 27 May 2016 13:12:48 -0400
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,8 @@ getList o
|
||||||
ts <- mapM (lookupTrust . uuid) rs
|
ts <- mapM (lookupTrust . uuid) rs
|
||||||
hereu <- getUUID
|
hereu <- getUUID
|
||||||
heretrust <- lookupTrust hereu
|
heretrust <- lookupTrust hereu
|
||||||
return $ (hereu, "here", heretrust) : zip3 (map uuid rs) (map name rs) ts
|
let l = (hereu, "here", heretrust) : zip3 (map uuid rs) (map name rs) ts
|
||||||
|
return $ filter (\(_, _, t) -> t /= DeadTrusted) l
|
||||||
getAllUUIDs = do
|
getAllUUIDs = do
|
||||||
rs <- M.toList <$> uuidMap
|
rs <- M.toList <$> uuidMap
|
||||||
rs3 <- forM rs $ \(u, n) -> (,,)
|
rs3 <- forM rs $ \(u, n) -> (,,)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue