]> code.ossystems Code Review - openembedded-core.git/commit
create-pull-request: add option -a to auto push
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 20 Apr 2016 00:30:03 +0000 (17:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Aug 2016 14:05:48 +0000 (15:05 +0100)
commita569bec9219394703d1c1d9b28dd19bf5b058e7f
tree0917a678488586169af7a9a9604e0b9827529316
parenta3f60d365e7ff20a1ad0875375b083a5baaaf9f1
create-pull-request: add option -a to auto push

Before this patch, we need two steps to create PULL:
* Step 1, create branch:
  $ git push <contrib> <local_branch>:<remote_branch>
* Step 2, create PULL:
  $ create-pull-request -u <contrib> -l <local_branch> -b <remote_branch> -r <local_branch>~<n>

We can see that the args used in step 1 are in step 2, so we can use
"create-pull-request -a" or set CPR_CONTRIB_AUTO_PUSH in to create the
branch to simplify the steps.

[YOCTO #9408]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/create-pull-request