summaryrefslogtreecommitdiffstats
path: root/scripts/create-pull-request
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-17 12:29:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-21 23:53:45 +0100
commit94c50ef8a9b6e1b83db2a909444e115fdb288954 (patch)
treec3efb51ebbffb3f4d5fc9d08d0be3a06927af841 /scripts/create-pull-request
parent0a5f2bc3e2e2f8538e1c3e6602ecb90139e821d0 (diff)
downloadpoky-94c50ef8a9b6e1b83db2a909444e115fdb288954.tar.gz
Revert "create-pull-request: Fix error on 2.0 versions of git"
This breaks create-pull-request for git <2, which is many people. This reverts commit 7ee64ea60ede5477b2f9a355d93bdc556e6b7895. (From OE-Core rev: 26766ea8ee0ef121e54ff9084c4637aa8df984f4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/create-pull-request')
-rwxr-xr-xscripts/create-pull-request4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index bc897468ef..97ed874e7f 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -125,10 +125,6 @@ if [ -z "$BRANCH" ]; then
125 echo "NOTE: Assuming remote branch '$BRANCH', use -b to override." 125 echo "NOTE: Assuming remote branch '$BRANCH', use -b to override."
126fi 126fi
127 127
128if [ "$COMMIT_ID" == "HEAD" ]; then
129 COMMIT_ID="$BRANCH"
130fi
131
132if [ -z "$REMOTE_URL" ]; then 128if [ -z "$REMOTE_URL" ]; then
133 echo "ERROR: Missing parameter -u, no git remote!" 129 echo "ERROR: Missing parameter -u, no git remote!"
134 usage 130 usage