scripts/setlocalversion: Renamed 'git-svn' to 'git svn'
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 26 Mar 2009 20:47:38 +0000 (20:47 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 26 Mar 2009 20:47:38 +0000 (20:47 -0000)
Git 1.6.x+ got rid of git-<subcommand> in the normal path.

Signed-off-by: Michael Roth <mroth@nessie.de>
scripts/setlocalversion

index f6946cf99ce1bd0a06f9835157f39d4b2b80e971..cc2c128f0abc89100f4a090e3599eaf1c94a6b5c 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?