mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
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
|
||||
|
Reference in New Issue
Block a user