diff options
| author | Jason Karns | 2016-08-19 10:32:54 -0400 |
|---|---|---|
| committer | Jason Karns | 2016-08-19 10:50:51 -0400 |
| commit | 07efe1e7716e2659c4fdcf5fef5a7be4ba584bad (patch) | |
| tree | 755b9f3c38453b7f0af2c14f6e1f9bf089637322 /Library/Homebrew/cmd | |
| parent | 105d7aa5346553408281ca8f7c4eeb02ea8a7c3f (diff) | |
| download | brew-07efe1e7716e2659c4fdcf5fef5a7be4ba584bad.tar.bz2 | |
bump-formula-pr now creates non-tracking branches
Without `--no-track`, some git setups may automatically set
`origin/master` as the tracked upstream for the newly created branch.
This upstream is what hub defaults as --head when opening PRs. By not
allowing git to set `origin/master` as upstream, hub can then use the
proper --head for the PR.
Since hub still needs to know what --head is intended to be, we can set
the branch's upstream when pushing: with the --set-upstream option.
Fixes #755
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
