summaryrefslogtreecommitdiff
path: root/Remote/Helper
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-09 16:55:41 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-09 16:55:41 -0400
commit43efb9173bbf23d35106d980fc36c07c6c29a4e6 (patch)
treedbbcfbaf7df02f0679753b85072c993ba5c6459e /Remote/Helper
parent8bb2283a50771025b5a9a729f4e832211e4990ee (diff)
implement lockContent for ssh remotes
Diffstat (limited to 'Remote/Helper')
-rw-r--r--Remote/Helper/Ssh.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Remote/Helper/Ssh.hs b/Remote/Helper/Ssh.hs
index 162c34f4e..0442ce839 100644
--- a/Remote/Helper/Ssh.hs
+++ b/Remote/Helper/Ssh.hs
@@ -173,3 +173,8 @@ rsyncParams r direction = do
| direction == Download = remoteAnnexRsyncDownloadOptions gc
| otherwise = remoteAnnexRsyncUploadOptions gc
gc = gitconfig r
+
+-- Used by git-annex-shell lockcontent to indicate the content is
+-- successfully locked.
+contentLockedMarker :: String
+contentLockedMarker = "OK"