New issue
Advanced search Search tips

Issue 920725 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Upstream local branch named master treated as remote by git cl upload

Project Member Reported by allenwebb@google.com, Jan 10

Issue description

To reproduce:
1) Create a local branch named master
2) Create a change and upload it
3) Checkout a new branch with the local branch named master as the upstream branch.
4) Create a change and upload it

What happens:
A duplicate of the parent CL is created.

What should happen:
The parent CL should become the parent of the second change---a local branch named master should be treated like a local branch not as the remote master branch.
 
Status: Available (was: Untriaged)
Thanks for the clear report! This would be good to fix, but it's enough of an edge case that I don't think we can prioritize it anytime soon given current staffing.

Sign in to add a comment