git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Christian Couder <chriscool@tuxfamily.org>
Date
Oct 27, 2006, 05:00 UTC
Message-ID
<20061027070057.cf0a236b.chriscool@tuxfamily.org>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 Documentation/everyday.txt   |    7 +++++++
 Documentation/git-daemon.txt |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
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
Message 1 of 1 in “Documentation: add git in /etc/services.”
  1. Documentation: add git in /etc/services.Christian Couder, Oct 27, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.