index 517f49b5cc5016a20b171789b89f48cb6ef0ecd5..e3b76f96eb303dc7eda20472c8c546cf51a54e67 100644 (file)
--- a/Documentation/hooks.txt
+++ b/Documentation/hooks.txt
Hooks are little scripts you can place in `$GIT_DIR/hooks`
directory to trigger action at certain points. When
-`git-init-db` is run, a handful example hooks are copied in the
+`git-init` is run, a handful example hooks are copied in the
`hooks` directory of the new repository, but by default they are
all disabled. To enable a hook, make it executable with `chmod +x`.
implement access control which is finer grained than the one
based on filesystem group.
-The standard output of this hook is sent to `/dev/null`; if you
+The standard output of this hook is sent to `stderr`, so if you
want to report something to the `git-send-pack` on the other end,
-you can redirect your output to your `stderr`.
+you can simply `echo` your messages.
post-update