From 8be3abfe097ddf04b28eec2783249d29b3a48dae Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Mon, 11 Sep 2023 22:34:15 -0400 Subject: git-codereview: make hooks command report conflicting hooks Display warning message when a hook is already installed and is different from the one installed by git-codereview. Improves upon CL 184417. Fixes golang/go#16777 Change-Id: I7579a3e86572e8b74f92317973e7cc7094b3942d Reviewed-on: https://go-review.googlesource.com/c/review/+/377034 Auto-Submit: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Than McIntosh Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov --- git-codereview/doc.go | 1 - 1 file changed, 1 deletion(-) (limited to 'git-codereview/doc.go') diff --git a/git-codereview/doc.go b/git-codereview/doc.go index 5f3e0b1..6e65e42 100644 --- a/git-codereview/doc.go +++ b/git-codereview/doc.go @@ -201,7 +201,6 @@ not present. It also checks that the message uses the convention established by the Go project that the first line has the form, pkg/path: summary. The hooks command will not overwrite an existing hook. -If it is not installing hooks, use “git codereview hooks -v” for details. This hook installation is also done at startup by all other git codereview commands, except “git codereview help”. -- cgit v1.3