Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/ksh93
GIT_MODULES="app/* data/* doc/* driver/* font/* lib/* mesa/* proto/* util/* xcb/* pixman"
TOP=$(pwd)
for d in $GIT_MODULES ; do
if [[ -d "$TOP/$d/.git" && ! -f "$TOP/$d/NO-PULL" ]] ; then
cd $TOP/$d
HEAD_DESC="$(git describe)"
LAST_TAG="$(git describe --abbrev=0)"
if [[ -z "${LAST_TAG}" ]] ; then
LAST_TAG="$(git describe --abbrev=0 --all HEAD^)"
fi
if [[ "${HEAD_DESC}" != "${LAST_TAG}" ]] ; then
print '=============' $d
git log "${LAST_TAG}"..
fi
fi
done
@alanc

This comment has been minimized.

Copy link
Owner Author

commented Oct 5, 2010

Script I use to find which X.Org modules have changes in git that need releasing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.