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

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