Files
zulip/tools/fetch-rebase-pull-request
Sahil Dua 058587da77 Remove extra new lines at the ends of Zulip authoried files.
Fixes #1627.

[tweaked by tabbott to avoid patching third-party modules, for now]
2016-09-26 21:05:24 -07:00

10 lines
185 B
Bash
Executable File

#!/bin/sh
set -e
set -x
request_id="$1"
git fetch upstream "pull/$request_id/head"
git checkout upstream/master -b "review-${request_id}"
git reset --hard FETCH_HEAD
git pull --rebase