summaryrefslogtreecommitdiffstats
path: root/Documentation/config-hooks.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/config-hooks.txt')
-rw-r--r--Documentation/config-hooks.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/Documentation/config-hooks.txt b/Documentation/config-hooks.txt
index fd2ae82b93..ceb7c78ec5 100644
--- a/Documentation/config-hooks.txt
+++ b/Documentation/config-hooks.txt
@@ -11,7 +11,7 @@ affected git repository so that git commands can be easily run.
Make sure your hook scripts are executable if running on *nix.
-Hooks are run in the background after the relevent change has
+Hooks are run in the background after the relevant change has
taken place so are unable to affect the outcome of any given
change. Because of the fact the hooks are run in the background
after the activity, a hook might not be notified about an event if
@@ -75,6 +75,15 @@ Called whenever a ref has been updated.
ref-updated --oldrev <old rev> --newrev <new rev> --refname <ref name> --project <project name> --submitter <submitter>
====
+cla-signed
+~~~~~~~~~~~
+
+Called whenever a user signs a contributor license agreement
+
+====
+ cla-signed --submitter <submitter> --user-id <user_id> --cla-id <cla_id>
+====
+
Configuration Settings
----------------------
@@ -91,7 +100,7 @@ Missing Change URLs
-------------------
If link:config-gerrit.html#gerrit.canonicalWebUrl[gerrit.canonicalWebUrl]
-is not set in `gerrit.config` the `\--change-url` flag may not be
+is not set in `gerrit.config` the `--change-url` flag may not be
passed to all hooks. Hooks started out of an SSH context (for example
the patchset-created hook) don't know the server's web URL, unless
this variable is configured.