diff options
Diffstat (limited to 'Backend.hs')
-rw-r--r-- | Backend.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend.hs b/Backend.hs index 0c9ea8d0b..d12913985 100644 --- a/Backend.hs +++ b/Backend.hs @@ -111,7 +111,7 @@ chooseBackends :: [FilePath] -> Annex [BackendFile] chooseBackends fs = do g <- Annex.gitRepo forced <- Annex.getState Annex.forcebackend - if forced /= Nothing + if isJust forced then do l <- orderedList return $ map (\f -> (Just $ head l, f)) fs |