Skip to content

Commit ed95028

Browse files
authored
tools: add note about vgit-fmt-hook tool in cmd/tools/git_pre_commit_hook.vsh (#26369)
1 parent b00145a commit ed95028

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎cmd/tools/git_pre_commit_hook.vsh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import term
1313
// chmod 755 .git/hooks/pre-commit
1414
// ```
1515
//
16+
// You could also use `vgit-fmt-hook` tool to install/update/remove and get
17+
// status for this hook.
18+
// This tool copies the git hook VSH script in .git/hooks/pre-commit
19+
//
1620
// Note: you can use this command:
1721
// `git config --bool --add hooks.stopCommitOfNonVfmtedVFiles true`
1822
// ... to make it just *prevent* the committing of unformatted .v files,

0 commit comments

Comments
 (0)