Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-20 03:35:48 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-20 03:38:16 +0300
commit3aadad1b32db3555bc19dac0892d41628a8e736d (patch)
tree9f102d3e62180816103e1cfee91071ffb81edcc6 /Documentation/hooks.txt
parentef1cc2cc216b37c33f1f5d68e770404c435fe1f3 (diff)
Documentation: stdout of update-hook is connected to /dev/null
Mention that update-hook does not emit its stdout to the sender. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/hooks.txt')
-rw-r--r--Documentation/hooks.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt
index 7ee3571bc0..4ad1920ec1 100644
--- a/Documentation/hooks.txt
+++ b/Documentation/hooks.txt
@@ -111,6 +111,10 @@ Another use suggested on the mailing list is to use this hook to
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
+want to report something to the git-send-pack on the other end,
+you can redirect your output to your stderr.
+
post-update
-----------
@@ -125,3 +129,7 @@ the outcome of `git-receive-pack`.
The default post-update hook, when enabled, runs
`git-update-server-info` to keep the information used by dumb
transport up-to-date.
+
+The standard output of this hook is sent to /dev/null; if you
+want to report something to the git-send-pack on the other end,
+you can redirect your output to your stderr.