documentation: Document why hook --change-url might be missing
Change-Id: Ic888bc41c662d04ede8c7e2a3251bea83098c599 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -78,6 +78,15 @@ the values of hooks.patchsetCreatedHook, hooks.commentAddedHook,
|
|||||||
hooks.changeMergedHook and hooks.changeAbandonedHook for the
|
hooks.changeMergedHook and hooks.changeAbandonedHook for the
|
||||||
filenames for the hooks.
|
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
|
See Also
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user