From fa7934c035ff09b46d646353683c6d9745f0c94d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jan 2014 14:41:10 -0400 Subject: add GETAVAILABILITY to external special remote protocol And some reworking of types, and added an annex-availability git config setting. --- Remote/Bup.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Remote/Bup.hs') diff --git a/Remote/Bup.hs b/Remote/Bup.hs index 4e89dcff2..370cbc1c0 100644 --- a/Remote/Bup.hs +++ b/Remote/Bup.hs @@ -72,7 +72,7 @@ gen r u c gc = do then Just buprepo else Nothing , remotetype = remote - , globallyAvailable = not $ bupLocal buprepo + , availability = if bupLocal buprepo then LocallyAvailable else GloballyAvailable , readonly = False } return $ Just $ encryptableRemote c -- cgit v1.2.3