diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-01-16 13:14:44 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-01-16 13:14:44 -0400 |
commit | 760f8ab86c916f884ee4666ab7203caa8f5ec686 (patch) | |
tree | 65d1f90fd4c93a3ecd92c1d3ca9756c4a2d5ade5 /Remote.hs | |
parent | 41f671ec59dbf5f62fb1a830d9314577ee1e0438 (diff) |
remove unnecessary qualification
Diffstat (limited to 'Remote.hs')
-rw-r--r-- | Remote.hs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -131,8 +131,8 @@ byNameOrGroup :: RemoteName -> Annex [Remote] byNameOrGroup n = go =<< getConfigMaybe (ConfigKey ("remotes." ++ n)) where go (Just l) = concatMap maybeToList <$> - mapM (Remote.byName . Just) (split " " l) - go Nothing = maybeToList <$> Remote.byName (Just n) + mapM (byName . Just) (split " " l) + go Nothing = maybeToList <$> byName (Just n) {- Only matches remote name, not UUID -} byNameOnly :: RemoteName -> Annex (Maybe Remote) @@ -279,8 +279,8 @@ showLocations key exclude nolocmsg = do untrusteduuids <- trustGet UnTrusted let uuidswanted = filteruuids uuids (u:exclude++untrusteduuids) let uuidsskipped = filteruuids uuids (u:exclude++uuidswanted) - ppuuidswanted <- Remote.prettyPrintUUIDs "wanted" uuidswanted - ppuuidsskipped <- Remote.prettyPrintUUIDs "skipped" uuidsskipped + ppuuidswanted <- prettyPrintUUIDs "wanted" uuidswanted + ppuuidsskipped <- prettyPrintUUIDs "skipped" uuidsskipped showLongNote $ message ppuuidswanted ppuuidsskipped ignored <- filter (remoteAnnexIgnore . gitconfig) <$> remoteList unless (null ignored) $ |