git pull manpage: don't include -n from fetch-options.txt

The -n option stands for --no-summary in git pull

[jes: reworded the description to avoid mentioning 'git-fetch';
 also exclude '-n' conditional on git-pull -- ugly because of
 the missing "else" statement in asciidoc]

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna 2008-01-25 10:17:38 +00:00 committed by Junio C Hamano
parent 2b0d1033a3
commit 10eb64f5fd
2 changed files with 9 additions and 4 deletions

View File

@ -23,11 +23,15 @@
fetches is a descendant of `<lbranch>`. This option fetches is a descendant of `<lbranch>`. This option
overrides that check. overrides that check.
ifdef::git-pull[]
\--no-tags::
endif::git-pull[]
ifndef::git-pull[]
-n, \--no-tags:: -n, \--no-tags::
By default, `git-fetch` fetches tags that point at endif::git-pull[]
objects that are downloaded from the remote repository By default, tags that point at objects that are downloaded
and stores them locally. This option disables this from the remote repository are fetched and stored locally.
automatic tag following. This option disables this automatic tag following.
-t, \--tags:: -t, \--tags::
Most of the tags are fetched automatically as branch Most of the tags are fetched automatically as branch

View File

@ -25,6 +25,7 @@ OPTIONS
------- -------
include::merge-options.txt[] include::merge-options.txt[]
:git-pull: 1
include::fetch-options.txt[] include::fetch-options.txt[]
include::pull-fetch-param.txt[] include::pull-fetch-param.txt[]