Created
November 9, 2014 01:58
-
-
Save shivaram/96287a290a34b345bf2c to your computer and use it in GitHub Desktop.
Show spark diff using cdiff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Shows Spark PR diff using cdiff https://github.com/ymattw/cdiff | |
if [[ $# -ne 1 ]]; | |
then | |
echo "Usage spark-diff <pr_num>" | |
exit 1 | |
fi | |
command -v cdiff >/dev/null 2>&1 || { echo >&2 "Install cdiff using pip."; exit 1; } | |
curl -s https://github.com/apache/spark/pull/$1.diff | cdiff -s -w 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment