summaryrefslogtreecommitdiff
path: root/doc/git-annex-shell.mdwn
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 /doc/git-annex-shell.mdwn
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 'doc/git-annex-shell.mdwn')
-rw-r--r--doc/git-annex-shell.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-shell.mdwn b/doc/git-annex-shell.mdwn
index c015a7bda..c6e8c05c0 100644
--- a/doc/git-annex-shell.mdwn
+++ b/doc/git-annex-shell.mdwn
@@ -65,6 +65,11 @@ first "/~/" or "/~user/" is expanded to the specified home directory.
This commits any staged changes to the git-annex branch.
It also runs the annex-content hook.
+* notifychanges
+
+ This is used by `git-annex remote-daemon` to be notified when
+ refs in the remote repository are changed.
+
* gcryptsetup gcryptid
Sets up a repository as a gcrypt repository.