[PATCH] dim: do not run hooks when rebuilding tip
Daniel Vetter
daniel at ffwll.ch
Fri Jan 25 10:46:11 UTC 2019
On Fri, Jan 25, 2019 at 02:27:17AM -0800, Lucas De Marchi wrote:
> dim rebuild-tip was failing for me and after investigation with Daniel
> Vetter, the culprit was having a pre-commit git hook enabled. Let's pass
> --no-verify to avoid the same mistake for other people.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> dim | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dim b/dim
> index 00ac1b1340fd..8e1bfa968e4a 100755
> --- a/dim
> +++ b/dim
> @@ -772,7 +772,7 @@ function dim_rebuild_tip
>
> # because we filter out fast-forward merges there will
> # always be something to commit
> - git commit --no-edit --quiet
> + git commit --no-edit --quiet --no-verify
> echo "Done."
> fi
>
> --
> 2.20.0
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dim-tools
mailing list