fetch-rebase-pull-request: Fix shellcheck warnings.

In tools/fetch-rebase-pull-request line 15:
git checkout -B "review-${request_id}" $remote/master
                                       ^-- SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2018-08-03 00:14:49 +00:00 committed by Tim Abbott
parent e7e25fb70b
commit b920d19358
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,6 @@ fi
request_id="$1" request_id="$1"
remote=${2:-"upstream"} remote=${2:-"upstream"}
git fetch "$remote" "pull/$request_id/head" git fetch "$remote" "pull/$request_id/head"
git checkout -B "review-${request_id}" $remote/master git checkout -B "review-${request_id}" "$remote/master"
git reset --hard FETCH_HEAD git reset --hard FETCH_HEAD
git pull --rebase git pull --rebase