linux-packaging-mono/debian/mono-api-source-check

5 lines
158 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
OLD_VER=$1
NEW_VER=$2
git diff --ignore-all-space $OLD_VER $NEW_VER | filterdiff -i "*.cs" -x '*/Test/*' | egrep "\+\+\+|[+-]\s*(public|protected)"