tailscale/misc/git_hook/githook
Fernando Serboncini 1669b0d3d4
misc/git_hook: fix building git_hook in a nested worktree (#19473)
When the repo is checked out as a nested worktree, a go.work in the
outer tree hijacks module resolution, which makes the rebuild fails
with "main module does not contain package." Set GOWORK=off for the
build since the hook is self-contained.

Bumps HOOK_VERSION so existing installs pick up the fix.

Updates #cleanup

Change-Id: Ibd14849efc26e4e1893c5b8e300caa71573f54bd

Signed-off-by: Fernando Serboncini <fserb@fserb.com.br>
2026-04-21 11:42:53 -04:00
..
commit-msg.go misc/git_hook: extract shared githook package; auto-rebuild on version bump (#19440) 2026-04-17 16:24:39 -04:00
githook.go misc/git_hook: extract shared githook package; auto-rebuild on version bump (#19440) 2026-04-17 16:24:39 -04:00
install.go misc/git_hook: extract shared githook package; auto-rebuild on version bump (#19440) 2026-04-17 16:24:39 -04:00
launcher.sh misc/git_hook: fix building git_hook in a nested worktree (#19473) 2026-04-21 11:42:53 -04:00
pre-commit.go misc/git_hook: extract shared githook package; auto-rebuild on version bump (#19440) 2026-04-17 16:24:39 -04:00
pre-push.go misc/git_hook: extract shared githook package; auto-rebuild on version bump (#19440) 2026-04-17 16:24:39 -04:00