scripts/setlocalversion: update deprecated git-<command> usage

Git is moving away from the git-<command> to git <command>

git-svn -> git svn
This commit is contained in:
Wade Berrier 2008-12-23 17:51:37 +00:00
parent cd7245fc11
commit 1d6fd2d387

View File

@ -17,7 +17,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Is this git on svn?
if git config --get svn-remote.svn.url >/dev/null; then
printf -- '-svn%s' "`git-svn find-rev $head`"
printf -- '-svn%s' "`git svn find-rev $head`"
fi
# Are there uncommitted changes?