diff options
author | Evan Read <eread@gitlab.com> | 2022-10-21 02:54:40 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-10-21 03:15:22 +0300 |
commit | 1bd23ca522dc9fdc79374c6aa1bcf117a731805c (patch) | |
tree | 211a38994a3b34cc421e525a3a4595243d755751 /doc/hooks.md | |
parent | faa097a0d42a9338445700a52aac25ba5887fd85 (diff) |
Further tidy up of Markdownlint errors
Diffstat (limited to 'doc/hooks.md')
-rw-r--r-- | doc/hooks.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/hooks.md b/doc/hooks.md index 821367ca5..0c5b820f4 100644 --- a/doc/hooks.md +++ b/doc/hooks.md @@ -46,8 +46,8 @@ execution path is: ## `gitaly-hooks` binary -`gitaly-hooks` is a binary that is the single point of entry for git hooks -through gitaly. +`gitaly-hooks` is a binary that is the single point of entry for Git hooks +through Gitaly. ### Subcommands @@ -55,11 +55,11 @@ through gitaly. | subcommand | purpose | arguments | stdin | |----------------|----------|-----------|--------| -| `pre-receive` | used as the git pre-receive hook none | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | -| `update` | used as the git update hook | `<ref-name>` `<old-object>` `<new-object>` | none -| `post-receive` | used as the git post-receive hook | none | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | -| `reference-transaction` | used as the git reference-transactionhook | `prepared|committed|aborted` | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | -| `git` | used as the git pack-objects hook | `pack-objects` `[--stdout]` `[--shallow-file]` | `<object-list>` | +| `pre-receive` | used as the Git `pre-receive` hook none | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | +| `update` | used as the Git `update` hook | `<ref-name>` `<old-object>` `<new-object>` | none +| `post-receive` | used as the Git `post-receive` hook | none | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | +| `reference-transaction` | used as the Git `reference-transaction` hook | `prepared|committed|aborted` | `<old-value>` SP `<new-value>` SP `<ref-name>` LF | +| `git` | used as the Git `pack-objects` hook | `pack-objects` `[--stdout]` `[--shallow-file]` | `<object-list>` | ## Hook-specific logic |