Skip to content
Snippets Groups Projects
Commit 6b6bb02f authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Wolfgang Denk
Browse files

tools/setlocalversion: use git svn instead of git-svn


Use the new "git <subcmd>" syntax instead of the deprecated
"git-<subcmd>".

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 7fa96a9a
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then ...@@ -25,7 +25,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Is this git on svn? # Is this git on svn?
if git config --get svn-remote.svn.url >/dev/null; then 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
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment