Skip to contentSkip to conversation

scripts/create-pull-request: fix handling of '-t' option

PATCH New Markus Lehtonen 1 participant 1 message May 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/create-pull-request: fix handling of '-t' option

---
 scripts/create-pull-request | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/create-pull-request +1 -1
index 46d65386a3..5bdea44482 100755
@@ -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
Signature · 1 line
2.12.0