When using gh pr create to open a new PR with -w, the browser result is an existing PR, previously merged or closed.
Reproduce:
Expected result:
Browser open the compare PR page: https://github.com/tierninho/PRlist/compare/ccc?expand=1
When removing the -w flag, the results are inline with expectations as the expected result URL is shown. Alternatively, if a branch had no prior PRs, then the correct URL is opened.
gh version 0.5.4 (2020-02-04), OSX
When using
gh pr createto open a new PR with-w, the browser result is an existing PR, previously merged or closed.Reproduce:
gh pr create -wExpected result:
Browser open the compare PR page: https://github.com/tierninho/PRlist/compare/ccc?expand=1
When removing the
-wflag, the results are inline with expectations as the expected result URL is shown. Alternatively, if a branch had no prior PRs, then the correct URL is opened.gh version 0.5.4 (2020-02-04), OSX