]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "create-pull-request: Fix error on 2.0 versions of git"
authorRoss Burton <ross.burton@intel.com>
Fri, 17 Jul 2015 11:29:13 +0000 (12:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jul 2015 22:52:49 +0000 (23:52 +0100)
This breaks create-pull-request for git <2, which is many people.

This reverts commit 7ee64ea60ede5477b2f9a355d93bdc556e6b7895.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/create-pull-request

index bc897468ef67142980c032589a4ad04c93728034..97ed874e7f9ff7a5bb9fdf6d056db14b373745e9 100755 (executable)
@@ -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