Last active
August 29, 2015 14:10
-
-
Save antdking/6c6d0f5040dc733c8c91 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
export FROM=android-5.0.1_r1 | |
export TO=android-5.0.2_r1 | |
export DIFF="`pwd`/diff" | |
rm -f $DIFF | |
repo forall -c ' | |
d=$(git diff $FROM $TO) | |
if [ "$d" ]; then | |
echo -e "#\n##\n# diffing $REPO_PROJECT\n##\n#" >> $DIFF | |
echo "$d" >> $DIFF | |
fi | |
' | |
export LOG="`pwd`/log" | |
rm -f $LOG | |
repo forall -c ' | |
l=$(git log --pretty=oneline $FROM...$TO) | |
if [ "$l" ]; then | |
echo -e "#\n##\n# logging $REPO_PROJECT\n##\n#" >> $LOG | |
echo "$l" >> $LOG | |
fi | |
' | |
export FULL="`pwd`/full_log" | |
rm -f $FULL | |
repo forall -c ' | |
l=$(git log $FROM...$TO) | |
if [ "$l" ]; then | |
echo -e "#\n##\n# logging $REPO_PROJECT\n##\n#" >> $FULL | |
echo "$l" >> $FULL | |
fi | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment