You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/man/src
Clemens Hammacher 19238fc343 Revert "Fix semantics of git new-branch --upstream"
This reverts commit ba83229a73.

Reason for revert: After mail discussion we came to the conclusion that the old behavior makes more sense.

Original change's description:
> Fix semantics of git new-branch --upstream
> 
> Currently, the "--upstream A" option for new-branch behaves totally
> different than "--upstream_current". While "--upstream A" checks out
> branch A and then creates a new branch which tracks A,
> "--upstream_current" creates a new branch for the current HEAD and sets
> the upstream to the previously checked out branch.
> 
> As the documentation does not mention that any of the options changes
> the currently-checked-out commit (HEAD), this CL changes the semantics
> of "git new-branch --upstream A B" to be identical to "git checkout -b B
> && git branch --set-upstream-to A".
> 
> It also slightly extends the documentation to mention that in any case
> the new branch is based on HEAD.
> 
> R=​iannucci@chromium.org
> 
> Change-Id: Ic335d2caf27cb6afca1b8bc5a008424c0e880fca
> Reviewed-on: https://chromium-review.googlesource.com/c/1350748
> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
> Auto-Submit: Clemens Hammacher <clemensh@chromium.org>

TBR=iannucci@chromium.org,tandrii@chromium.org,clemensh@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I7463935af172f0801c7da94d2de106a02fc4c42e
Reviewed-on: https://chromium-review.googlesource.com/c/1362972
Reviewed-by: Sergiy Belozorov <sergiyb@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
7 years ago
..
.gitignore
_aliases.txt
_footer.txt
_git-cl_desc.helper.txt
_git-drover_desc.helper.txt
_git-footers_desc.helper.txt
_git-freeze_desc.helper.txt
_git-hyper-blame_desc.helper.txt
_git-map-branches_desc.helper.txt
_git-map_desc.helper.txt
_git-mark-merge-base_desc.helper.txt
_git-nav-downstream_desc.helper.txt
_git-nav-upstream_desc.helper.txt
_git-new-branch_desc.helper.txt
_git-rebase-update_desc.helper.txt
_git-rename-branch_desc.helper.txt
_git-reparent-branch_desc.helper.txt
_git-retry_desc.helper.txt
_git-squash-branch_desc.helper.txt
_git-thaw_desc.helper.txt
_git-upstream-diff_desc.helper.txt
_helper_prefix.txt
asciidoc-override.css
common_demo_functions.sh
demo_repo.sh
depot_tools.txt
depot_tools_tutorial.demo.walkthrough.sh
depot_tools_tutorial.txt
filter_demo_output.py
git-cl.txt
git-drover.demo.1.sh
git-drover.demo.2.sh
git-drover.demo.3.sh
git-drover.demo.4.sh
git-drover.demo.common.sh
git-drover.txt
git-footers.demo.1.sh
git-footers.txt
git-freeze.demo.1.sh
git-freeze.txt
git-hyper-blame.demo.1.sh
git-hyper-blame.demo.2.sh
git-hyper-blame.demo.common.sh
git-hyper-blame.txt
git-map-branches.demo.1.sh
git-map-branches.txt
git-map.demo.1.sh
git-map.txt
git-mark-merge-base.txt
git-nav-downstream.demo.1.sh
git-nav-downstream.txt
git-nav-upstream.demo.1.sh
git-nav-upstream.txt
git-new-branch.demo.1.sh
git-new-branch.txt Revert "Fix semantics of git new-branch --upstream" 7 years ago
git-rebase-update.txt
git-rename-branch.txt
git-reparent-branch.txt
git-retry.txt
git-squash-branch.demo.1.sh
git-squash-branch.txt
git-thaw.txt
git-upstream-diff.txt Fix minor regression in git_upstream_diff. 7 years ago
make_docs.sh Fix minor regression in git_upstream_diff. 7 years ago
prep_demo_repo.sh