summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-22 20:42:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-22 20:42:45 (GMT)
commit9f471e4b95d5f684dc9d0ec7c43ab267acc06ae4 (patch)
tree2cdaaa3c0ceea88d63d3109fc046838ed9d3bba2 /Documentation
parent7780604ac200b763af71efba0eb7c880f39fd152 (diff)
parent13ac5edbfa5a03cd9bb4cf6b59dc45f2c73aa463 (diff)
downloadgit-9f471e4b95d5f684dc9d0ec7c43ab267acc06ae4.zip
git-9f471e4b95d5f684dc9d0ec7c43ab267acc06ae4.tar.gz
git-9f471e4b95d5f684dc9d0ec7c43ab267acc06ae4.tar.bz2
Merge branch 'rs/pull-options-sync-code-and-doc'
"git pull" shares many options with underlying "git fetch", but some of them were not documented and some of those that would make sense to pass down were not passed down. * rs/pull-options-sync-code-and-doc: pull: pass documented fetch options on pull: remove --update-head-ok from documentation
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/fetch-options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 00d03ec..05709f6 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -204,7 +204,6 @@ ifndef::git-pull[]
recursion (such as settings in linkgit:gitmodules[5] and
linkgit:git-config[1]) override this option, as does
specifying --[no-]recurse-submodules directly.
-endif::git-pull[]
-u::
--update-head-ok::
@@ -214,6 +213,7 @@ endif::git-pull[]
to communicate with 'git fetch', and unless you are
implementing your own Porcelain you are not supposed to
use it.
+endif::git-pull[]
--upload-pack <upload-pack>::
When given, and the repository to fetch from is handled