Skip to content

Commit

Permalink
git pull manpage: don't include -n from fetch-options.txt
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Jan 26, 2008
1 parent 2b0d103 commit 10eb64f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Documentation/fetch-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@
fetches is a descendant of `<lbranch>`. This option
overrides that check.

ifdef::git-pull[]
\--no-tags::
endif::git-pull[]
ifndef::git-pull[]
-n, \--no-tags::
By default, `git-fetch` fetches tags that point at
objects that are downloaded from the remote repository
and stores them locally. This option disables this
automatic tag following.
endif::git-pull[]
By default, tags that point at objects that are downloaded
from the remote repository are fetched and stored locally.
This option disables this automatic tag following.

-t, \--tags::
Most of the tags are fetched automatically as branch
Expand Down
1 change: 1 addition & 0 deletions Documentation/git-pull.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ OPTIONS
-------
include::merge-options.txt[]

:git-pull: 1
include::fetch-options.txt[]

include::pull-fetch-param.txt[]
Expand Down

0 comments on commit 10eb64f

Please sign in to comment.