[oe-commits] Ross Burton : Revert "create-pull-request: Fix error on 2.0 versions of git"

git at git.openembedded.org git at git.openembedded.org
Tue Jul 21 22:56:34 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 26766ea8ee0ef121e54ff9084c4637aa8df984f4
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=26766ea8ee0ef121e54ff9084c4637aa8df984f4

Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Jul 17 12:29:13 2015 +0100

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 <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/create-pull-request | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index bc89746..97ed874 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



More information about the Openembedded-commits mailing list