threads / patch / 43130

patchDocumentation: add git in /etc/services.

Subject: [PATCH] Documentation: add git in /etc/services.

## tl;dr

One message between Oct 27, 2006 and Oct 27, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Christian Couder· Oct 27, 2006, 05:00 UTC · lore
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 Documentation/everyday.txt   |    7 +++++++
 Documentation/git-daemon.txt |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
Show changes to 2 files +14 −0

Documentation/everyday.txt, Documentation/git-daemon.txt

diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt
index f1b2265..450ee76 100644
--- a/Documentation/everyday.txt
+++ b/Documentation/everyday.txt
@@ -372,6 +372,13 @@ example of managing a shared central rep
 
 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.::
 +
 ------------
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index a72ed39..dea25af 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -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

← back to recent threads