git-svn-id: https://svn.itm.uni-luebeck.de/wisebed/wiselib/trunk/pc_apps/roomba_tests@4092
f8795833-4959-0410-8ae9-
8bcb0cfab428
# if that fails, try git-svn
if [ -z "$revision" ]; then
revision=$(git svn info 2>&1|grep Revision|sed 's/Revision: //')
# 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
fi;
# if that fails, give up