diff options
Diffstat (limited to 'Annex/Difference.hs')
-rw-r--r-- | Annex/Difference.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Difference.hs b/Annex/Difference.hs index 66dc03a32..e0dc17da7 100644 --- a/Annex/Difference.hs +++ b/Annex/Difference.hs @@ -38,10 +38,10 @@ setDifferences = do ( do oldds <- recordedDifferencesFor u when (ds /= oldds) $ - warning $ "Cannot change tunable parameters in already initialized repository." + warning "Cannot change tunable parameters in already initialized repository." return oldds , if otherds == mempty - then ifM (not . null . filter (/= u) . M.keys <$> uuidMap) + then ifM (any (/= u) . M.keys <$> uuidMap) ( do warning "Cannot change tunable parameters in a clone of an existing repository." return mempty |