tools/setlocalversion: use git svn instead of git-svn
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 31 Mar 2009 15:52:16 +0000 (17:52 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 4 Apr 2009 21:11:16 +0000 (23:11 +0200)
Use the new "git <subcmd>" syntax instead of the deprecated
"git-<subcmd>".

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
tools/setlocalversion

index bbb2ab2f71f562f212e2befcc6d8f69efb4f3124..b3f5f2824b1056352a1e229951e739a269837b35 100755 (executable)
@@ -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