diff options
Diffstat (limited to 'utils/GetSourceVersion')
-rwxr-xr-x | utils/GetSourceVersion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GetSourceVersion b/utils/GetSourceVersion index cbed7da..b57a6aa 100755 --- a/utils/GetSourceVersion +++ b/utils/GetSourceVersion @@ -16,7 +16,7 @@ fi cd $1 if [ -d .svn ]; then svnversion | sed -e "s#\([0-9]*\)[A-Z]*#\1#" -elif [ -d .git/svn ]; then +elif [ -f .git/svn/.metadata ]; then git svn info | grep 'Revision:' | cut -d: -f2- elif [ -d .git ]; then git log -1 --pretty=format:%H |