# if that fails, try git-svn
if [ -z "$revision" ]; then
revision=$(git svn info 2>&1|grep Revision|sed 's/Revision: //')
- stat=$(git status 2>&1|grep 'modified: ');
+ stat=$(git status 2>&1|grep 'modified: ')
+ # ...and also check if there are un-dcommited changesets
+ stat=$stat$(git diff --stat HEAD git-svn);
fi;
# if that fails, give up