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:
Fernando Serboncini
2026-06-15 12:08:19 -04:00
committed by GitHub
parent 449233dd61
commit 4d9d8cfaa8
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
// The git-hook command is Tailscale's git hook binary, built and
// installed under .git/hooks/ts-git-hook-bin by the launcher at
// .git/hooks/ts-git-hook. misc/install-git-hooks.go writes the initial
// .git/hooks/ts-git-hook. misc/add-git-hooks.go writes the initial
// launcher; subsequent HOOK_VERSION bumps trigger self-rebuilds.
//
// # Adding your own hooks