From 459b6381952c3efa93da1d1d144f9a5683e6c92e Mon Sep 17 00:00:00 2001 From: Lei Jitang Date: Fri, 28 Oct 2016 04:03:00 -0400 Subject: [PATCH] config.md: clarify timeout of hooks is OPTIONAL Signed-off-by: Lei Jitang --- config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.md b/config.md index 096888f7f..f07f5780d 100644 --- a/config.md +++ b/config.md @@ -355,7 +355,7 @@ If a hook returns a non-zero exit code, then an error is logged and the remainin ``` `path` is REQUIRED for a hook. -`args` and `env` are OPTIONAL. +`args`, `env` and `timeout` are OPTIONAL. `timeout` is the number of seconds before aborting the hook. The semantics are the same as `Path`, `Args` and `Env` in [golang Cmd](https://golang.org/pkg/os/exec/#Cmd).