diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-17 12:29:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-21 23:52:49 +0100 |
commit | 26766ea8ee0ef121e54ff9084c4637aa8df984f4 (patch) | |
tree | 94cc6fd9014eebe86949d764ebc801398033d3e6 /scripts/create-pull-request | |
parent | a1e8fa70f6990926b5db976fa1c333073c4f6d8d (diff) | |
download | openembedded-core-contrib-26766ea8ee0ef121e54ff9084c4637aa8df984f4.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.
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-x | scripts/create-pull-request | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request index bc897468ef6..97ed874e7f9 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 |