diff options
author | Shawn O. Pearce <sop@google.com> | 2010-08-23 08:33:55 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2010-08-23 08:33:55 -0700 |
commit | bd870e515b7a43b10d00fb4760f5c3b918e3aeec (patch) | |
tree | e7e5698e929907ca27f0e9f20fb1318740f31adc | |
parent | 5c46a074636c43c6cdd26359ebfa8add65e12aa6 (diff) |
documentation: Document why hook --change-url might be missing
Change-Id: Ic888bc41c662d04ede8c7e2a3251bea83098c599
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | Documentation/config-hooks.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/config-hooks.txt b/Documentation/config-hooks.txt index 95fc7bf0bb..e271ba8155 100644 --- a/Documentation/config-hooks.txt +++ b/Documentation/config-hooks.txt @@ -78,6 +78,15 @@ the values of hooks.patchsetCreatedHook, hooks.commentAddedHook, hooks.changeMergedHook and hooks.changeAbandonedHook for the filenames for the hooks. +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 +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. + See Also -------- |