cli/pkg
Mislav Marohnić 305cd290ee Fix pr checkout <owner>:<branch> when it matches the default branch
First, consolidate the functionality between `pr merge` and `pr
checkout` that resolves the default branch name of the base repo. With
an added bonus, the new approach avoids an API request when one isn't
necessary.

Then, ensure that checking out 3rd-party PRs will result in local branch
name such as `<owner>/<branch>` when the head branch of the repository
matches the default branch of the base repository. We already have had
code in place to take care of this, but it only took effect in the `pr
checkout <number>`-style invocation.
2020-07-15 15:35:42 +02:00
..
browser Extract web browser launching to a package 2020-01-29 11:49:38 +01:00
cmd/api api --silent Changes: 2020-06-30 19:18:28 +05:30
cmdutil Improve no args error handler and extend it to other commands 2020-06-15 21:01:32 +02:00
githubtemplate Categorize Templates as Legacy and NonLegacy 2020-05-23 00:03:38 +05:30
httpmock Fix pr checkout <owner>:<branch> when it matches the default branch 2020-07-15 15:35:42 +02:00
iostreams Display JSON in indented, colored format in api output 2020-06-05 17:43:07 +02:00
jsoncolor Add tests for jsoncolor 2020-06-08 16:05:00 +02:00
surveyext review feedback 2020-05-11 17:06:18 -05:00
text Code fixes informed by golangci-lint failures (#738) 2020-04-03 16:33:34 +02:00