summaryrefslogtreecommitdiff
path: root/CmdLine
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-05 16:04:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-05 16:10:39 -0400
commit73050592050239490beb656f2b7e3cde567df237 (patch)
treec1e900fc388af75052fd078fce2feddf75343433 /CmdLine
parent13fe079e1a7c1ce4269c1ceb8113c3603d8abe9a (diff)
git-annex-shell: Added notifychanges command.
This will be used by the remote-daemon to quickly tell when changes have been pushed from some other repository into a ssh remote. Adjusted the remote-daemon protocol to communicate changed shas, rather than git branch refs. This way, it can easily check if a sha is new. This commit was sponsored by Carlos Trijueque Albarran.
Diffstat (limited to 'CmdLine')
-rw-r--r--CmdLine/GitAnnexShell.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/CmdLine/GitAnnexShell.hs b/CmdLine/GitAnnexShell.hs
index f490792b0..6c212b24d 100644
--- a/CmdLine/GitAnnexShell.hs
+++ b/CmdLine/GitAnnexShell.hs
@@ -29,6 +29,7 @@ import qualified Command.RecvKey
import qualified Command.SendKey
import qualified Command.TransferInfo
import qualified Command.Commit
+import qualified Command.NotifyChanges
import qualified Command.GCryptSetup
cmds_readonly :: [Command]
@@ -37,6 +38,7 @@ cmds_readonly = concat
, gitAnnexShellCheck Command.InAnnex.def
, gitAnnexShellCheck Command.SendKey.def
, gitAnnexShellCheck Command.TransferInfo.def
+ , gitAnnexShellCheck Command.NotifyChanges.def
]
cmds_notreadonly :: [Command]