From af64bff9d4e9ba2ace51b238c4bd6cec092b9961 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 3 Aug 2018 00:14:50 +0000 Subject: [PATCH] reset-to-pull-request: Fix shellcheck warnings. In tools/reset-to-pull-request line 25: git fetch "$remote" +"pull/$request_id/head":"$target_ref" ^-- SC2140: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"? Signed-off-by: Anders Kaseorg --- tools/reset-to-pull-request | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/reset-to-pull-request b/tools/reset-to-pull-request index ee3ef2ded8..e70ae020bf 100755 --- a/tools/reset-to-pull-request +++ b/tools/reset-to-pull-request @@ -22,6 +22,6 @@ if [ -z "$pseudo_remote" ]; then else target_ref=refs/remotes/"$pseudo_remote"/"$request_id" set -x - git fetch "$remote" +"pull/$request_id/head":"$target_ref" + git fetch "$remote" +"pull/$request_id/head:$target_ref" git reset --hard "$target_ref" fi