path: root/Documentation/howto/rebuild-from-update-hook.txt
diff options
authorJunio C Hamano <>2005-12-20 00:35:48 (GMT)
committerJunio C Hamano <>2005-12-20 00:38:16 (GMT)
commit3aadad1b32db3555bc19dac0892d41628a8e736d (patch)
tree9f102d3e62180816103e1cfee91071ffb81edcc6 /Documentation/howto/rebuild-from-update-hook.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 <>
Diffstat (limited to 'Documentation/howto/rebuild-from-update-hook.txt')
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/howto/rebuild-from-update-hook.txt b/Documentation/howto/rebuild-from-update-hook.txt
index ebd025d..02621b5 100644
--- a/Documentation/howto/rebuild-from-update-hook.txt
+++ b/Documentation/howto/rebuild-from-update-hook.txt
@@ -10,7 +10,7 @@ The pages under
are built from Documentation/ directory of the git.git project
and needed to be kept up-to-date. The servers
are mirrored and I was told that the origin of the mirror is on
-the machine, on which I was given an account
+the machine $, on which I was given an account
when I took over git maintainership from Linus.
The directories relevant to this how-to are these two:
@@ -63,7 +63,7 @@ like this:
$ chmod +x /pub/scm/git/git.git/hooks/post-update
-There are three things worth mentioning:
+There are four things worth mentioning:
- The update-hook is run after the repository accepts a "git
push", under my user privilege. It is given the full names
@@ -77,6 +77,10 @@ There are three things worth mentioning:
pull" it does into $HOME/doc-git/docgen/ repository would not
work correctly.
+ - The stdout of update hook script is not connected to git
+ push; I run the heavy part of the command inside "at", to
+ receive the execution report via e-mail.
- This is still crude and does not protect against simultaneous
make invocations stomping on each other. I would need to add
some locking mechanism for this.