Skip to content

Commit

Permalink
Merge pull request #979 from soxofaan/repo-local
Browse files Browse the repository at this point in the history
Add some cross-references related to repo-local hooks
  • Loading branch information
asottile authored Jul 7, 2024
2 parents b05de99 + 75a9857 commit 8fd225e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sections/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ You can configure repository-local hooks by specifying the [`repo`](#repos-repo)
sentinel `local`.

local hooks can use any language which supports [`additional_dependencies`](#config-additional_dependencies)
or `docker_image` / `fail` / `pygrep` / `script` / `system`.
or [`docker_image`](#docker_image) / [`fail`](#fail) / [`pygrep`](#pygrep) / [`script`](#script) / [`system`](#system).
This enables you to install things which previously would require a trivial
mirror repository.

Expand Down
3 changes: 3 additions & 0 deletions sections/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ from.
=r=
=c= [`repo`](_#repos-repo)
=c= the repository url to `git clone` from
or one of the special sentinel values:
[`local`](#repository-local-hooks),
[`meta`](#meta-hooks).
=r=
=c= [`rev`](_#repos-rev)
=c= the revision or tag to clone at.
Expand Down

0 comments on commit 8fd225e

Please sign in to comment.