diff options
| -rwxr-xr-x | scripts/create-pull-request | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/scripts/create-pull-request b/scripts/create-pull-request index 97ed874e7f..bc897468ef 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request @@ -125,6 +125,10 @@ 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 | 
