scripts/setlocalversion: update deprecated git-<command> usage
authorWade Berrier <wberrier@gmail.com>
Tue, 23 Dec 2008 17:51:37 +0000 (17:51 -0000)
committerWade Berrier <wberrier@gmail.com>
Tue, 23 Dec 2008 17:51:37 +0000 (17:51 -0000)
Git is moving away from the git-<command> to git <command>

git-svn -> git svn

scripts/setlocalversion

index e9de7fa0aebd2a9d5bf8c3f272530dc6afe7948a..ad72d41473f9c2a16cf4317ed7e9dd7e54418ce8 100755 (executable)
@@ -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?