mirror of https://github.com/zulip/zulip.git
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:
parent
e7e25fb70b
commit
b920d19358
|
@ -12,6 +12,6 @@ fi
|
|||
request_id="$1"
|
||||
remote=${2:-"upstream"}
|
||||
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 pull --rebase
|
||||
|
|
Loading…
Reference in New Issue