mirror of https://github.com/zulip/zulip.git
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 <andersk@mit.edu>
This commit is contained in:
parent
c669626666
commit
af64bff9d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue