]> code.ossystems Code Review - openembedded-core.git/commit
create-pull-request: cd to relative directory
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 5 Aug 2015 09:16:00 +0000 (12:16 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Aug 2015 07:12:45 +0000 (00:12 -0700)
commit3042956a86167f89beccc5d05f1fad1844e7c36a
tree9af1e70c014fa7c93b88c8cd6b5e9006ca1c93ad
parentce16e95de05db24e4e4132660d793cc7b1d890b9
create-pull-request: cd to relative directory

create-pull-request -d path creates empty patches if directory
is specified as a path, i.e. ./bitbake or ./bitbake/ or full path.
It behaves expected way only if script is run with -d bitbake, i.e.
relative dir name doesn't contain '\'.

Fixed this unwanted behaviour by changing directory and running
git format-patch in it with --relative, without specifying
relative path as a parameter.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/create-pull-request