Skip to content

Commit

Permalink
branch doc: remove --set-upstream from synopsis
Browse files Browse the repository at this point in the history
Support for the --set-upstream option was removed in 5266884
(builtin/branch: stop supporting the "--set-upstream" option,
2017-08-17), after a long deprecation period.

Remove the option from the command synopsis for consistency.  Replace
another reference to it in the description of `--delete` with
`--set-upstream-to`.

Signed-off-by: Todd Zullinger <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
tmzullinger authored and gitster committed Nov 17, 2017
1 parent 5266884 commit a060f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/git-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SYNOPSIS
[(--merged | --no-merged) [<commit>]]
[--contains [<commit]] [--no-contains [<commit>]]
[--points-at <object>] [--format=<format>] [<pattern>...]
'git branch' [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]
'git branch' [--track | --no-track] [-l] [-f] <branchname> [<start-point>]
'git branch' (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]
'git branch' --unset-upstream [<branchname>]
'git branch' (-m | -M) [<oldbranch>] <newbranch>
Expand Down Expand Up @@ -81,7 +81,7 @@ OPTIONS
--delete::
Delete a branch. The branch must be fully merged in its
upstream branch, or in `HEAD` if no upstream was set with
`--track` or `--set-upstream`.
`--track` or `--set-upstream-to`.

-D::
Shortcut for `--delete --force`.
Expand Down

0 comments on commit a060f3d

Please sign in to comment.