[OE-core] [PATCH] scripts/create-pull-request: fix handling of '-t' option

Markus Lehtonen markus.lehtonen at linux.intel.com
Mon May 15 11:21:16 UTC 2017


Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
---
 scripts/create-pull-request | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 46d65386a3..5bdea44482 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -209,7 +209,7 @@ if [ -n "$RELDIR" ]; then
 fi
 
 # Generate the patches and cover letter
-if [ -z "$IN_REPLY_TO" ]; then
+if [ -n "$IN_REPLY_TO" ]; then
     git format-patch $extraopts -M40 --subject-prefix="$PREFIX" -n -o $ODIR --thread=shallow --in-reply-to="$IN_REPLY_TO" --cover-letter $RELATIVE_TO..$COMMIT_ID > /dev/null
 else
     git format-patch $extraopts -M40 --subject-prefix="$PREFIX" -n -o $ODIR --thread=shallow --cover-letter $RELATIVE_TO..$COMMIT_ID > /dev/null
-- 
2.12.0




More information about the Openembedded-core mailing list