diff options
author | 2014-04-05 16:04:37 -0400 | |
---|---|---|
committer | 2014-04-05 16:10:39 -0400 | |
commit | 73050592050239490beb656f2b7e3cde567df237 (patch) | |
tree | c1e900fc388af75052fd078fce2feddf75343433 /doc/design/git-remote-daemon.mdwn | |
parent | 13fe079e1a7c1ce4269c1ceb8113c3603d8abe9a (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/design/git-remote-daemon.mdwn')
-rw-r--r-- | doc/design/git-remote-daemon.mdwn | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/design/git-remote-daemon.mdwn b/doc/design/git-remote-daemon.mdwn index 714005e6f..0658d4583 100644 --- a/doc/design/git-remote-daemon.mdwn +++ b/doc/design/git-remote-daemon.mdwn @@ -80,9 +80,18 @@ the webapp. ## emitted messages -* `CHANGED $remote $ref ...` +* `CONNECTED $remote` - This indicates that the given refs in the named git remote have changed. + Send when a connection has been made with a remote. + +* `DISCONNECTED $remote` + + Send when connection with a remote has been lost. + +* `CHANGED $remote $sha ...` + + This indicates that refs in the named git remote have changed, + and indicates the new shas. * `STATUS $remote $string` |