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

[PATCH 5/6] Document update-server-info.

From
Junio C Hamano <junkio@cox.net>
Date
Jul 24, 2005, 00:54 UTC
Message-ID
<7vsly5ja5b.fsf@assigned-by-dhcp.cox.net>
This adds a minimum documentation to the new command.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 Documentation/git-update-server-info.txt |   42 ++++++++++++++++++++++++++++++
 Documentation/git.txt                    |    4 +++
 2 files changed, 46 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/git-update-server-info.txt
b0dff8ec614449f3fa59a1017f3ed92c8a10a3aa
diff --git a/Documentation/git-update-server-info.txt b/Documentation/git-update-server-info.txt
new file mode 100644
--- /dev/null
+++ b/Documentation/git-update-server-info.txt
@@ -0,0 +1,42 @@
+git-update-server-info(1)
+=========================
+v0.1, July 2005
+
+NAME
+----
+git-update-server-info - Update auxiliary info file to help dumb servers
+
+
+SYNOPSIS
+--------
+'git-update-server-info' [--force]
+
+DESCRIPTION
+-----------
+A dumb server that does not do on-the-fly pack generations can
+have some auxiliary information files in $GIT_DIR/info and
+$GIT_OBJECT_DIRECTORY/info directories to help clients discover
+what references and packs the server has and make an optimized
+pull decisions.  This command generates such auxiliary files.
+
+
+OPTIONS
+-------
+
+--force::
+	Update the info files even when they do not appear
+	stale.
+
+
+Author
+------
+Written by Junio C Hamano <junkio@cox.net>
+
+Documentation
+--------------
+Documentation by Junio C Hamano.
+
+GIT
+---
+Part of the link:git.html[git] suite
+
diff --git a/Documentation/git.txt b/Documentation/git.txt
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -167,6 +167,10 @@ link:git-upload-pack.html[git-upload-pac
 	Invoked by 'git-clone-pack' and 'git-fetch-pack' to push
 	what are asked for.
 
+link:git-update-server-info.html[git-update-server-info]::
+	Updates auxiliary information on a dumb server to help
+	clients discover references and packs on it.
+
 
 Ancilliary Commands
 -------------------
Message 1 of 1 in “Document update-server-info.”
  1. 5/6 Document update-server-info.Junio C Hamano, Jul 24, 2005

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.