mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
Clarify that git-update-server-info should be run for every git-push
The old text suggested that git-update-server-info only needs to be run if new tags or branches are created, but not for new commits. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
07fef5fc15
commit
ccf5aa8dd3
|
@ -133,14 +133,14 @@ info::
|
||||||
in this directory.
|
in this directory.
|
||||||
|
|
||||||
info/refs::
|
info/refs::
|
||||||
This file is to help dumb transports to discover what
|
This file helps dumb transports discover what refs are
|
||||||
refs are available in this repository. Whenever you
|
available in this repository. If the repository is
|
||||||
create/delete a new branch or a new tag, `git
|
published for dumb transports, this file should be
|
||||||
update-server-info` should be run to keep this file
|
regenerated by `git update-server-info` every time a tag
|
||||||
up-to-date if the repository is published for dumb
|
or branch is created or modified. This is normally done
|
||||||
transports. The `git-receive-pack` command, which is
|
from the `hooks/update` hook, which is run by the
|
||||||
run on a remote repository when you `git push` into it,
|
`git-receive-pack` command when you `git push` into the
|
||||||
runs `hooks/update` hook to help you achieve this.
|
repository.
|
||||||
|
|
||||||
info/grafts::
|
info/grafts::
|
||||||
This file records fake commit ancestry information, to
|
This file records fake commit ancestry information, to
|
||||||
|
|
Loading…
Reference in a new issue