From 09aa031b910f75151bbbc98614d37b6124672a66 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Mon, 19 Jan 2026 10:59:32 +0100 Subject: [PATCH] v.help: add help for git-fmt-hook tool (#26394) Signed-off-by: Laurent Cheylus --- vlib/v/help/other/git-fmt-hook.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vlib/v/help/other/git-fmt-hook.txt diff --git a/vlib/v/help/other/git-fmt-hook.txt b/vlib/v/help/other/git-fmt-hook.txt new file mode 100644 index 000000000..8a3ed7e5c --- /dev/null +++ b/vlib/v/help/other/git-fmt-hook.txt @@ -0,0 +1,11 @@ +Tool to install/remove pre-commit Git hook + +Usage: + v git-fmt-hook [SUBCMD] + +The pre-commit Git hook will check/format V files before commit with 'v fmt' command. + +SUBCMD: + status : get status for Git pre-commit hook .git/hooks/pre-commit + install: install Git pre-commit hook .git/hooks/pre-commit + remove : remove Git pre-commit hook \ No newline at end of file -- 2.39.5