diff options
Diffstat (limited to 'Remote/List.hs')
-rw-r--r-- | Remote/List.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/List.hs b/Remote/List.hs index 3179456eb..4622f1e99 100644 --- a/Remote/List.hs +++ b/Remote/List.hs @@ -81,7 +81,7 @@ remoteListRefresh = do remoteGen :: (M.Map UUID RemoteConfig) -> RemoteType -> Git.Repo -> Annex Remote remoteGen m t r = do u <- getRepoUUID r - addHooks =<< generate t r u (M.lookup u m) + addHooks =<< generate t r u (fromMaybe M.empty $ M.lookup u m) {- Updates a local git Remote, re-reading its git config. -} updateRemote :: Remote -> Annex Remote |