X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-update-server-info.txt;h=88a03c7c5ed4935fc10764d0f56326f0436a6f26;hb=8a97e368882afbc2bdc030214339bed54ed6545c;hp=4f65acbc8c86d29a154a9785eaed9abebaa757f3;hpb=61e3ef3620493834ed5997d56d481c171d8bd5ac;p=git.git diff --git a/Documentation/git-update-server-info.txt b/Documentation/git-update-server-info.txt index 4f65acbc..88a03c7c 100644 --- a/Documentation/git-update-server-info.txt +++ b/Documentation/git-update-server-info.txt @@ -1,6 +1,5 @@ git-update-server-info(1) ========================= -v0.1, July 2005 NAME ---- @@ -13,19 +12,36 @@ SYNOPSIS DESCRIPTION ----------- -A dumb server that does not do on-the-fly pack generations can +A dumb server that does not do on-the-fly pack generations must 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. +what references and packs the server has. This command +generates such auxiliary files. OPTIONS ------- ---force:: - Update the info files even when they do not appear - stale. +-f|--force:: + Update the info files from scratch. + + +OUTPUT +------ + +Currently the command updates the following files. Please see +link:repository-layout.html[repository-layout] for description +of what they are for: + +* objects/info/packs + +* info/refs + + +BUGS +---- +When you remove an existing ref, the command fails to update +info/refs file unless `--force` flag is given. Author @@ -38,5 +54,5 @@ Documentation by Junio C Hamano. GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite