mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
![Ævar Arnfjörð Bjarmason](/assets/img/avatar_default.png)
Fix various issues of SYNOPSIS and -h output syntax where: * Options such as --force were missing entirely * ...or the short option, such as -f * We said "opts" or "options", but could instead enumerate the (small) set of supported options * Options that were missing entirely (ls-remote's --sort=<key>) As we can specify "--sort" multiple times (it's backed by a string-list" it should really be "[(--sort=<key>)...]", which is what "git for-each-ref" lists it as, but let's leave that issue for a subsequent cleanup, and stop at making these consistent. Other "ref-filter.h" users share the same issue, e.g. "git-branch.txt". * For "verify-tag" and "verify-commit" we were missing the "--raw" option. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
42 lines
799 B
Plaintext
42 lines
799 B
Plaintext
git-update-server-info(1)
|
|
=========================
|
|
|
|
NAME
|
|
----
|
|
git-update-server-info - Update auxiliary info file to help dumb servers
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git update-server-info' [-f | --force]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
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. This command
|
|
generates such auxiliary files.
|
|
|
|
OPTIONS
|
|
-------
|
|
-f::
|
|
--force::
|
|
update the info files from scratch.
|
|
|
|
OUTPUT
|
|
------
|
|
|
|
Currently the command updates the following files. Please see
|
|
linkgit:gitrepository-layout[5] for description of
|
|
what they are for:
|
|
|
|
* objects/info/packs
|
|
|
|
* info/refs
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|