From 706e2a63fb536d8bb4ce156c20e5a2f6f734d8b7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 21 Dec 2020 13:24:07 -0400 Subject: [PATCH] fix logic error in thirdPartyPopulated handling --- Remote/Helper/ExportImport.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Remote/Helper/ExportImport.hs b/Remote/Helper/ExportImport.hs index 985cca4084..573db92147 100644 --- a/Remote/Helper/ExportImport.hs +++ b/Remote/Helper/ExportImport.hs @@ -107,7 +107,7 @@ adjustExportImport r rs = do -- When thirdPartyPopulated is True, the remote -- does not need to be configured with importTree to support -- imports. - isimport <- pure (importTree (config r) || not (thirdPartyPopulated (remotetype r))) + isimport <- pure (importTree (config r) || thirdPartyPopulated (remotetype r)) <&&> isImportSupported r let r' = r { remotetype = (remotetype r)