Code

Documentation: add git in /etc/services.
authorChristian Couder <chriscool@tuxfamily.org>
Fri, 27 Oct 2006 05:00:57 +0000 (07:00 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 27 Oct 2006 09:10:52 +0000 (02:10 -0700)
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/everyday.txt
Documentation/git-daemon.txt

index 278161f587497f70643f3805c89e9d87afc790c0..9677671892700ae246dcfe36dc806a548fafe2d2 100644 (file)
@@ -353,6 +353,13 @@ example of managing a shared central repository.
 
 Examples
 ~~~~~~~~
+We assume the following in /etc/services::
++
+------------
+$ grep 9418 /etc/services
+git            9418/tcp                # Git Version Control System
+------------
+
 Run git-daemon to serve /pub/scm from inetd.::
 +
 ------------
index f10a269912bae1c54280f526f06550b6de088d2c..993adc7c5adf63f144d7ce257a670363abe18322 100644 (file)
@@ -162,6 +162,13 @@ upload-archive::
 
 EXAMPLES
 --------
+We assume the following in /etc/services::
++
+------------
+$ grep 9418 /etc/services
+git            9418/tcp                # Git Version Control System
+------------
+
 git-daemon as inetd server::
        To set up `git-daemon` as an inetd service that handles any
        repository under the whitelisted set of directories, /pub/foo