From ee3407de64d52d91500c6b761ad45c7a22eb73cb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 29 Dec 2012 14:28:19 -0400 Subject: block all commands that don't work in direct mode I left status working in direct mode, although it doesn't show correct stats for known annex keys. --- Command/Unlock.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Unlock.hs') diff --git a/Command/Unlock.hs b/Command/Unlock.hs index 5a0e6efeb..422afcc55 100644 --- a/Command/Unlock.hs +++ b/Command/Unlock.hs @@ -18,7 +18,7 @@ def = , c "edit" "same as unlock" ] where - c n = command n paramPaths seek + c n = notDirect . command n paramPaths seek seek :: [CommandSeek] seek = [withFilesInGit $ whenAnnexed start] -- cgit v1.2.3