diff options
Diffstat (limited to 'man5/githooks.5')
-rw-r--r-- | man5/githooks.5 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man5/githooks.5 b/man5/githooks.5 index cf66e3821..2b647854b 100644 --- a/man5/githooks.5 +++ b/man5/githooks.5 @@ -2,12 +2,12 @@ .\" Title: githooks .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 03/21/2023 +.\" Date: 03/28/2023 .\" Manual: Git Manual -.\" Source: Git 2.40.0.130.g27d43aaaf5 +.\" Source: Git 2.40.0.141.g8d90352acc .\" Language: English .\" -.TH "GITHOOKS" "5" "03/21/2023" "Git 2\&.40\&.0\&.130\&.g27d43a" "Git Manual" +.TH "GITHOOKS" "5" "03/28/2023" "Git 2\&.40\&.0\&.141\&.g8d9035" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -238,7 +238,7 @@ This hook can be used to prevent \fIforced\fR update on certain refs by making s .sp It could also be used to log the old\&.\&.new status\&. However, it does not know the entire set of branches, so it would end up firing one e\-mail per ref when used naively, though\&. The \fIpost\-receive\fR hook is more suited to that\&. .sp -In an environment that restricts the users\(aq access only to git commands over the wire, this hook can be used to implement access control without relying on filesystem ownership and group membership\&. See \fBgit-shell\fR(1) for how you might use the login shell to restrict the user\(cqs access to only git commands\&. +In an environment that restricts the users\*(Aq access only to git commands over the wire, this hook can be used to implement access control without relying on filesystem ownership and group membership\&. See \fBgit-shell\fR(1) for how you might use the login shell to restrict the user\(cqs access to only git commands\&. .sp Both standard output and standard error output are forwarded to \fBgit send\-pack\fR on the other end, so you can simply \fBecho\fR messages for the user\&. .sp @@ -271,7 +271,7 @@ H: flush\-pkt S: PKT\-LINE(<old\-oid> <new\-oid> <ref>) S: \&.\&.\&. \&.\&.\&. S: flush\-pkt -# Send push\-options only if the \(aqpush\-options\(aq feature is enabled\&. +# Send push\-options only if the \*(Aqpush\-options\*(Aq feature is enabled\&. S: PKT\-LINE(push\-option) S: \&.\&.\&. \&.\&.\&. S: flush\-pkt @@ -289,7 +289,7 @@ S: flush\-pkt H: PKT\-LINE(ok <ref>) # NO, I reject it\&. H: PKT\-LINE(ng <ref> <reason>) -# Fall through, let \(aqreceive\-pack\(aq to execute it\&. +# Fall through, let \*(Aqreceive\-pack\*(Aq to execute it\&. H: PKT\-LINE(ok <ref>) H: PKT\-LINE(option fall\-through) # OK, but has an alternate reference\&. The alternate reference name |