summaryrefslogtreecommitdiff
path: root/scripts/create-pull-request
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-08-16 15:41:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-17 15:13:39 +0100
commit3944f5e02d22b70b3bcd733a80f005dbd8e248a2 (patch)
tree3f54dda6776876541e55178a07ddf86e63c46566 /scripts/create-pull-request
parent869a1efee685d59c762b965b98ac9c247be68c29 (diff)
downloadopenembedded-core-3944f5e02d22b70b3bcd733a80f005dbd8e248a2.tar.gz
openembedded-core-3944f5e02d22b70b3bcd733a80f005dbd8e248a2.tar.bz2
openembedded-core-3944f5e02d22b70b3bcd733a80f005dbd8e248a2.zip
create-pull-request: increase likelihood of detecting a rename
Decrease the similarity percentage needed to recognize a delete/add-pair followed by an edit, as a rename. This make reviewing patches easier. Signed-off-by: Anders Darander <anders@chargestorm.se>
Diffstat (limited to 'scripts/create-pull-request')
-rwxr-xr-xscripts/create-pull-request2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 7d021d3227..600fa7a341 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -166,7 +166,7 @@ mkdir $ODIR
# Generate the patches and cover letter
-git format-patch -M --subject-prefix="$PREFIX" -n -o $ODIR --thread=shallow --cover-letter $RELATIVE_TO..$COMMIT_ID > /dev/null
+git format-patch -M40 --subject-prefix="$PREFIX" -n -o $ODIR --thread=shallow --cover-letter $RELATIVE_TO..$COMMIT_ID > /dev/null
# Customize the cover letter