implement lockContent for ssh remotes

This commit is contained in:
Joey Hess 2015-10-09 16:55:41 -04:00
parent 6d4f741d5f
commit 3b89d5a20c
Failed to extract signature
5 changed files with 52 additions and 10 deletions

View file

@ -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"