tools/setlocalversion: use git svn instead of git-svn
Use the new "git <subcmd>" syntax instead of the deprecated "git-<subcmd>". Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
7fa96a9a54
commit
6b6bb02f27
@ -25,7 +25,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
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user