diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2020-08-12 23:52:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-13 11:20:25 -0700 |
commit | 847b37271ed607d459fbe0f60a6dea937787390a (patch) | |
tree | ef9148364f335fda9fdaee5dd96752eba46d13a0 /t/t4100/t-apply-2.patch | |
parent | Git 2.28 (diff) | |
download | tgif-847b37271ed607d459fbe0f60a6dea937787390a.tar.xz |
fetch, pull doc: correct description of '--set-upstream'
The '--set-upstream' option to `git fetch` (which is also accepted by
`git pull` and passed through to the underlying `git fetch`) allows
setting the upstream configuration for the current branch. This was
added in 24bc1a1292 (pull, fetch: add --set-upstream option,
2019-08-19).
However, the documentation for that option describes its action as 'If
the remote is fetched successfully, pull and add upstream (tracking)
reference [...]', which is wrong because this option does not cause
neither `git fetch` nor `git pull` to pull: `git fetch` does not pull
and `git pull` always pulls.
Fix the description of that option.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-2.patch')
0 files changed, 0 insertions, 0 deletions