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:
parent
cd7245fc11
commit
1d6fd2d387
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user