summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-05 08:32:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-05 08:58:23 (GMT)
commiteb0362a467cc2cb5313bb859d78ea2d152b4a4ff (patch)
treee8015f42f5ce5ea6280116accd070d37239d4b6b /Documentation
parentdfa2f22f942ffc96105e667024b516e6f4fa07d1 (diff)
downloadgit-eb0362a467cc2cb5313bb859d78ea2d152b4a4ff.zip
git-eb0362a467cc2cb5313bb859d78ea2d152b4a4ff.tar.gz
git-eb0362a467cc2cb5313bb859d78ea2d152b4a4ff.tar.bz2
Documentation: push/receive hook references.
Mention documentation pages that talk about update and post-update hooks from git-push, because a frequently asked question is "I want X to happen when I push" and people would not know to look at git-receive-pack documentation until they understand that is what runs on the other end. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-push.txt5
-rw-r--r--Documentation/git-receive-pack.txt4
2 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index f45ac5e..2254bac 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -16,6 +16,10 @@ DESCRIPTION
Updates remote refs using local refs, while sending objects
necessary to complete the given refs.
+You can make "interesting" things to happen on the repository
+every time you push into it, by setting up 'hooks' there. See
+documentation for gitlink:git-receive-pack[1].
+
OPTIONS
-------
@@ -31,6 +35,7 @@ include::pull-fetch-param.txt[]
This flag disables the check. What this means is that the
local repository can lose commits; use it with care.
+
Author
------
Written by Junio C Hamano <junkio@cox.net>
diff --git a/Documentation/git-receive-pack.txt b/Documentation/git-receive-pack.txt
index 8afde14..60debca 100644
--- a/Documentation/git-receive-pack.txt
+++ b/Documentation/git-receive-pack.txt
@@ -71,6 +71,10 @@ packed and is served via a dumb transport.
#!/bin/sh
exec git-update-server-info
+There are other real-world examples of using update and
+post-update hooks found in the Documentation/howto directory.
+
+
OPTIONS
-------
<directory>::