Integrated: cli: add command git-backport
Erik Helin
ehelin at openjdk.java.net
Wed Nov 11 14:18:10 UTC 2020
On Mon, 9 Nov 2020 19:46:57 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
>
> please review this patch that adds the new CLI command `git backport`. A contributing backporting a commit can now simply run `git backport --from=jdk <HASH>` to backport a commit from the JDK repo targeting the current repository. The "other" direction is also possible, where the user runs the command in a local clone of their personal fork of the jdk repository: `git backport --to=jdk16u <HASH>`. The user can optionally supply a branch, as in `git backport --to=jfx --branch=jfx14 <HASH>`.
>
> Behind the scenes the `git backport` do nothing more than just making a "backport" commit comment on the given hash.
>
> Testing:
> - [x] Manual testing on Linux x64
>
> Thanks,
> Erik
This pull request has now been integrated.
Changeset: 4f35b6fd
Author: Erik Helin <ehelin at openjdk.org>
URL: https://git.openjdk.java.net/skara/commit/4f35b6fd
Stats: 220 lines in 2 files changed: 219 ins; 0 del; 1 mod
cli: add command git-backport
Reviewed-by: rwestberg
-------------
PR: https://git.openjdk.java.net/skara/pull/948
More information about the skara-dev
mailing list