[Integrated] RFR: publish: add flag --follow

Erik Helin ehelin at openjdk.java.net
Fri Jun 5 08:45:17 UTC 2020

On Thu, 4 Jun 2020 14:45:42 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> please review this patch that adds the `--follow` switch and the `--browser` flag to `git publish`. These flags can be
> used to automatically open a browser with the link that a remote host replies with in the response to the `git
> push --set-upstream` command that `git publish` runs. The effect is a "poor mans" `git pr create` for those that can't
> (or don't want) to have a personal access token on their machine.  For example, running `git
> publish --follow --browser=firefox` will open the "Open a pull request" page in Firefox.  Testing:
> - [x] Manual testing of `git publish --follow --browser=firefox` on Linux x64
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 68d3dd6e
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/68d3dd6e
Stats:     100 lines in 1 file changed: 1 ins; 78 del; 21 mod

publish: add flag --follow

Reviewed-by: rwestberg


PR: https://git.openjdk.java.net/skara/pull/638

More information about the skara-dev mailing list