Created
June 29, 2012 00:10
-
-
Save nwb/3014859 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
GIT = $(which git) | |
while read oldrev newrev refname | |
do | |
echo >&2 " - $oldrev - $newrev - $refname" | |
while read line do | |
echo >&2 "-" | |
echo >&2 $line | |
# ok now do real stuff | |
done < < '$GIT diff --name-status $oldrev...$newrev' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment