RFR: 193: git-pr: add flag --publish

Erik Helin ehelin at openjdk.java.net
Wed Dec 11 14:11:22 UTC 2019


Hi all,

please review this patch that adds the flag `--publish` to `git-pr create`
(also configurable). When `--publish` is set then `git-pr` will call
`git-publish --quiet` if the branch is not yet pushed to the remote. This
avoids having to type `git publish && git pr create` when creating pull
requests from the command-line.

Note that I had to update `git-publish` a bit to fully support the `--quiet`
flag.

Thanks,
Erik

- [x] Manual testing of `git-pr create --publish`

-------------

Commits:
 - c5649967: skara-193

Changes: https://git.openjdk.java.net/skara/pull/317/files
 Webrev: https://webrevs.openjdk.java.net/skara/317/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/SKARA-193
  Stats: 31 lines in 2 files changed: 16 ins; 0 del; 15 mod
  Patch: https://git.openjdk.java.net/skara/pull/317.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/317/head:pull/317

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


More information about the skara-dev mailing list