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