summaryrefslogtreecommitdiff
path: root/scripts/create-pull-request
diff options
context:
space:
mode:
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
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