-
-
Save Ikke/7bb9f213b9bfda89b2bbc43aefd6bfd0 to your computer and use it in GitHub Desktop.
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 | |
while read oldval newval refname | |
do | |
for commit in $(git rev-list $oldval..$newval) | |
do | |
if ! git diff --quiet ${commit}~1 $commit .gitignore | |
then | |
echo 'ignore changed' | |
fi | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment