summaryrefslogtreecommitdiff
path: root/CmdLine/GitAnnexShell.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-10-08 14:47:46 -0400
committerJoey Hess <joeyh@joeyh.name>2015-10-08 14:47:46 -0400
commit5240a9f315d1b95b5df2b9636609d0da00d05cd2 (patch)
tree692501473efa7c9a165f71bbf2405217f62568e1 /CmdLine/GitAnnexShell.hs
parent4d50958ed7830eef42dea2aa2f40013742f708de (diff)
git-annex-shell: Added lockcontent command, to prevent dropping of key's content.
Diffstat (limited to 'CmdLine/GitAnnexShell.hs')
-rw-r--r--CmdLine/GitAnnexShell.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/CmdLine/GitAnnexShell.hs b/CmdLine/GitAnnexShell.hs
index 59c861582d..f9678d1449 100644
--- a/CmdLine/GitAnnexShell.hs
+++ b/CmdLine/GitAnnexShell.hs
@@ -20,6 +20,7 @@ import Remote.GCrypt (getGCryptUUID)
import qualified Command.ConfigList
import qualified Command.InAnnex
+import qualified Command.LockContent
import qualified Command.DropKey
import qualified Command.RecvKey
import qualified Command.SendKey
@@ -32,6 +33,7 @@ cmds_readonly :: [Command]
cmds_readonly =
[ Command.ConfigList.cmd
, gitAnnexShellCheck Command.InAnnex.cmd
+ , gitAnnexShellCheck Command.LockContent.cmd
, gitAnnexShellCheck Command.SendKey.cmd
, gitAnnexShellCheck Command.TransferInfo.cmd
, gitAnnexShellCheck Command.NotifyChanges.cmd