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.
This commit is contained in:
parent
e0b04f2e37
commit
0fbbec261d
8 changed files with 152 additions and 37 deletions
|
@ -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`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue