Skip to content

Commit 1438fa3

Browse files
committed
Link to feature more + avoid "ad-hoc" term in docs
1 parent ad88bf7 commit 1438fa3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
In addition to supporting a wide variety of hooks that can be used across
1616
multiple repositories, you can also define hooks specific to a repository which
1717
are stored in source control. You can also easily
18-
[add your existing hook scripts](#adding-existing-git-hooks) without writing
18+
[add your existing hook scripts](#adding-existing-git-hooks) or
19+
[use some of your existing line-oriented analysis tools](#adding-existing-line-aware-commands) without writing
1920
any Ruby code.
2021

2122
* [Requirements](#requirements)
@@ -41,6 +42,7 @@ any Ruby code.
4142
* [PreRebase](#prerebase)
4243
* [Repo-Specific Hooks](#repo-specific-hooks)
4344
* [Adding Existing Git Hooks](#adding-existing-git-hooks)
45+
* [Adding Existing Line-Aware Commands](#adding-existing-line-aware-commands)
4446
* [Security](#security)
4547
* [Contributing](#contributing)
4648
* [Community](#community)
@@ -240,7 +242,7 @@ Option | Description
240242
`install_command` | Command the user can run to install the `required_executable` (or alternately the specified `required_libraries`). This is intended for documentation purposes, as Overcommit does not install software on your behalf since there are too many edge cases where such behavior would result in incorrectly configured installations (e.g. installing a Python package in the global package space instead of in a virtual environment).
241243
`skip_file_checkout` | Whether to skip this hook for file checkouts (e.g. `git checkout some-ref -- file`). Only applicable to `PostCheckout` hooks.
242244
`skip_if` | Array of arguments to be executed to determine whether or not the hook should run. For example, setting this to a value of `['bash', '-c', '! which my-executable']` would allow you to skip running this hook if `my-executable` was not in the bin path.
243-
`ad_hoc` | *["Ad-hoc" line-aware command hooks](#adding-existing-line-aware-commands) only.*
245+
*`message`* | *[Line-aware command hooks](#adding-existing-line-aware-commands) only.*
244246

245247
In addition to the built-in configuration options, each hook can expose its
246248
own unique configuration options. The `AuthorEmail` hook, for example, allows

0 commit comments

Comments
 (0)