From: Ross Burton Date: Fri, 17 Jul 2015 11:29:13 +0000 (+0100) Subject: Revert "create-pull-request: Fix error on 2.0 versions of git" X-Git-Tag: 2015-10~1158 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=26766ea8ee0ef121e54ff9084c4637aa8df984f4;p=openembedded-core.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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 echo "NOTE: Assuming remote branch '$BRANCH', use -b to override." fi -if [ "$COMMIT_ID" == "HEAD" ]; then - COMMIT_ID="$BRANCH" -fi - if [ -z "$REMOTE_URL" ]; then echo "ERROR: Missing parameter -u, no git remote!" usage