Skip to contentSkip to conversation

Document update-server-info.

PATCH In review Junio C Hamano 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 Document update-server-info.

This adds a minimum documentation to the new command.

---

 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

Documentation/git-update-server-info.txt new file +42 -0
new file mode 100644
@@ -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 <[email protected]>
+
+Documentation
+--------------
+Documentation by Junio C Hamano.
+
+GIT
+---
+Part of the link:git.html[git] suite
+
Documentation/git.txt +4 -0
@@ -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
 -------------------