kbuild: use git svn instead of git-svn in setlocalversion
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 26 Mar 2009 20:58:04 +0000 (21:58 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 11 Apr 2009 06:18:08 +0000 (08:18 +0200)
Use the correct git <subcmd> syntax instead of the deprecated git-<subcmd>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion

index f1c4b35bc32428b030f053d46010f21b6812c76f..47e75b69a2e974b77e22da05d2a2a3b31655f1a8 100755 (executable)
@@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short 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?