implemented old Richih wishlist about remote/uuid info

* info: Can now display info about a given uuid.
  * Added to remote/uuid info: Count of the number of keys present
    on the remote, and their size. This is rather expensive to calculate,
    so comes last and --fast will disable it.
  * Git remote info now includes the date of the last sync with the remote.
This commit is contained in:
Joey Hess 2015-01-13 18:11:03 -04:00
parent c0722eaad1
commit 534c29deae
7 changed files with 81 additions and 16 deletions

View file

@ -121,7 +121,7 @@ gen' r u c gc = do
, availability = availabilityCalc r
, remotetype = remote
, mkUnavailable = return Nothing
, getInfo = return $ gitRepoInfo r
, getInfo = gitRepoInfo this
, claimUrl = Nothing
, checkUrl = Nothing
}