Thread (581 messages) 581 messages, 16 authors, 2021-10-12

Re: [PATCH v4 3/9] hook: add list command

From: Jonathan Nieder <hidden>
Date: 2020-10-05 23:27:21

Emily Shaffer wrote:
quoted hunk ↗ jump to hunk
--- a/Documentation/git-hook.txt
+++ b/Documentation/git-hook.txt
@@ -8,12 +8,47 @@ git-hook - Manage configured hooks
[...]
quoted hunk ↗ jump to hunk
+COMMANDS
+--------
+
+list <hook-name>::
+
+List the hooks which have been configured for <hook-name>. Hooks appear
+in the order they should be run, and note the config scope where the relevant
+`hook.<hook-name>.command` was specified, not the `hookcmd` (if applicable).
A little bit of futureproofing: this may want to mention that the
output is intended to be human-readable and is subject to change over
time (scripters beware!).

Thanks,
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help