Added support for ref-update events
Whenever a ref is updated via either a direct push to a branch or a
Gerrit change submission, Gerrit will now send a new "ref-updated"
event to the event stream. This can be used by external agents for
things like automatic submodule ref updating, replication, build bot
hooks, etc.
Change-Id: Ice9d65db8fd662d53df53ff6b61d811815c9f2f6
diff --git a/Documentation/cmd-stream-events.txt b/Documentation/cmd-stream-events.txt
index aae908a..3b348da 100644
--- a/Documentation/cmd-stream-events.txt
+++ b/Documentation/cmd-stream-events.txt
@@ -102,6 +102,15 @@
comment:: Comment text author had written
+Ref Updated
+^^^^^^^^^^^
+type:: "ref-updated"
+
+submitter:: link:json.html#account[account attribute]
+
+refUpdate:: link:json.html#refupdate[refupdate attribute]
+
+
SEE ALSO
--------