From b920d193582867e6c2dae6ec0e623eb0fa104822 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 3 Aug 2018 00:14:49 +0000 Subject: [PATCH] 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 --- tools/fetch-rebase-pull-request | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fetch-rebase-pull-request b/tools/fetch-rebase-pull-request index ab3fec34f6..34b6d79cf3 100755 --- a/tools/fetch-rebase-pull-request +++ b/tools/fetch-rebase-pull-request @@ -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