Source files for the neveragain.tech site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

7 lines
229 B

#!/bin/bash
prnum=$1
base=$(git merge-base origin/master origin/pr/$prnum)
git diff --no-color --unified=0 --text --ignore-all-space $base origin/pr/$prnum \
| grep -v '^--- ' | grep -v '^+++ ' | grep --color=never '^[-+]'