misc: rename install-git-hooks.go to add-git-hooks.go (#20144)
`go run` builds a manifest-less .exe, so Windows applies installer- detection heuristics and requests admin privileges to programs that contains "install", "setup", or "update". Rename to dodge that. Updates #20133 Change-Id: I144d3fcb076d7a02e4a3eb9fd079ee022a035c76 Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
This commit is contained in:
@@ -9,7 +9,7 @@ The shared logic lives in the `githook/` package and is also imported by
|
||||
|
||||
From the repo root:
|
||||
|
||||
./tool/go run ./misc/install-git-hooks.go
|
||||
./tool/go run ./misc/add-git-hooks.go
|
||||
|
||||
The script auto-updates in the future.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user