diff options
Diffstat (limited to 'utils/GetRepositoryPath')
-rwxr-xr-x | utils/GetRepositoryPath | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GetRepositoryPath b/utils/GetRepositoryPath index 326231c..f3b0cc5 100755 --- a/utils/GetRepositoryPath +++ b/utils/GetRepositoryPath @@ -16,7 +16,7 @@ fi cd $1 if [ -d .svn ]; then svn info | grep 'URL:' | cut -d: -f2- -elif [ -d .git/svn ]; then +elif [ -f .git/svn/.metadata ]; then git svn info | grep 'URL:' | cut -d: -f2- elif [ -d .git ]; then git remote -v | grep 'fetch' | awk '{ print $2 }' |